[librsvg/librsvg-2.44] DrawingCtx.get_pango_context() - Use dpi_y for the Pango context's resolution



commit 372a9437695c34ba919c822a38af7064b7ee2d1a
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]