[librsvg: 1/4] DrawingCtx.get_pango_context() - Use dpi_y for the Pango context's resolution
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/4] DrawingCtx.get_pango_context() - Use dpi_y for the Pango context's resolution
- Date: Thu, 27 Sep 2018 16:25:21 +0000 (UTC)
commit 611d74f2bc6f3cd4dec7106bdcf6b8253985edd0
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Sep 27 09:27:36 2018 -0500
DrawingCtx.get_pango_context() - Use dpi_y for the Pango context's resolution
Seems like a typo from the initial Rustification.
rsvg_internals/src/drawing_ctx.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/drawing_ctx.rs b/rsvg_internals/src/drawing_ctx.rs
index f2d699c9..32b942b1 100644
--- a/rsvg_internals/src/drawing_ctx.rs
+++ b/rsvg_internals/src/drawing_ctx.rs
@@ -516,7 +516,7 @@ impl<'a> DrawingCtx<'a> {
let cr = self.get_cairo_context();
pangocairo::functions::update_context(&cr, &context);
- set_resolution(&context, self.dpi_x);
+ set_resolution(&context, self.dpi_y);
if self.is_testing {
let mut options = cairo::FontOptions::new();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]