[cairo-commit] src/cairo-quartz-font.c

Bryce Harrington bryce at kemper.freedesktop.org
Fri Apr 24 18:27:39 PDT 2015


 src/cairo-quartz-font.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8b798c320f6fd2d87349d0a716304474022bc5ea
Author: Bryce Harrington <bryce at osg.samsung.com>
Date:   Fri Apr 24 18:23:46 2015 -0700

    Fix broken canvas text font size in Inkscape
    
    An earlier fix to bug 84324 added a regression in the font size of
    canvas text in Inkscape when compiled with the Quartz backend.
    
    Patch from Andrea Canciani
    
    Fixes:  https://bugs.freedesktop.org/show_bug.cgi?id=84324
    Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>

diff --git a/src/cairo-quartz-font.c b/src/cairo-quartz-font.c
index 02f3426..feee61a 100644
--- a/src/cairo-quartz-font.c
+++ b/src/cairo-quartz-font.c
@@ -560,7 +560,7 @@ _cairo_quartz_init_glyph_path (cairo_quartz_scaled_font_t *font,
 					-font->base.scale.yy,
 					0, 0);
 
-    ctFont = CTFontCreateWithGraphicsFont (font_face->cgFont, 0.0, NULL, NULL);
+    ctFont = CTFontCreateWithGraphicsFont (font_face->cgFont, 1.0, NULL, NULL);
     glyphPath = CTFontCreatePathForGlyph (ctFont, glyph, &textMatrix);
     CFRelease (ctFont);
     if (!glyphPath)


More information about the cairo-commit mailing list