Bug 1201874 - create core text font with correct size,r=lsalzman

MozReview-Commit-ID: GXH7ExjMI2m

--HG--
extra : rebase_source : 373db7088d6a82e0bd7ee94436617c6293d3aaa4
This commit is contained in:
peter chang 2016-05-24 10:48:07 +08:00
parent 4da8df1aab
commit 66d1a9ac76

View File

@ -570,7 +570,7 @@ _cairo_quartz_init_glyph_path (cairo_quartz_scaled_font_t *font,
-font->base.scale.yy, -font->base.scale.yy,
0, 0); 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); glyphPath = CTFontCreatePathForGlyph (ctFont, glyph, &textMatrix);
CFRelease (ctFont); CFRelease (ctFont);
if (!glyphPath) if (!glyphPath)