mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
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:
parent
4da8df1aab
commit
66d1a9ac76
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user