[cairo-bugs] [Bug 84324] cairo quartz font broken in iOS 8 / CGFontGetGlyphPath deprecated in MacOS 10.10 yosemite
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 28 00:14:10 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=84324
--- Comment #9 from rkdgu+a44zyz19a8hys at sharklasers.com ---
There seems to be a problem with this patch (at least as far as iOS goes). It
works on ipad 3 but crashes on ipad 4 and later.
I am investigating further, but see attached iOS test project PDFCrashTest.zip
if interested (includes cairo and pixman and renders and displays a PDF). It
works on ipad 3 and crashes on ipad 4 (both running ios 8.1.1).
It crashes here (only after drawing text and calling cairo_show_page):
ctFont = CTFontCreateWithGraphicsFontPtr (font_face->cgFont);
with EXC_BAD_ACCESS. The call stack looks like:
#0 0x234bc750 in CTFontDescriptorCopyAttribute ()
#1 0x234af26c in TFont::SetExtras(__CTFontDescriptor const*) ()
#2 0x234aed12 in TFont::TFont(CGFont*, float, CGAffineTransform const*,
__CTFontDescriptor const*) ()
#3 0x234aec06 in CTFontCreateWithGraphicsFont ()
#4 0x000f2c40 in _cairo_quartz_init_glyph_path at
/Users/rkdgu/PDFCrashTest/PDFCrashTest/cairo/cairo-quartz-font.c:575
#5 0x000f2736 in _cairo_quartz_scaled_glyph_init at
/Users/rkdgu/PDFCrashTest/PDFCrashTest/cairo/cairo-quartz-font.c:748
#6 0x00128044 in _cairo_scaled_glyph_lookup at
/Users/rkdgu/PDFCrashTest/PDFCrashTest/cairo/cairo-scaled-font.c:3004
...
#20 0x0023cd28 in cairo_show_page at
/Users/rkdgu/PDFCrashTest/PDFCrashTest/cairo/cairo.c:2284
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20141128/9ee3b37f/attachment.html>
More information about the cairo-bugs
mailing list