[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


--- 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
#5    0x000f2736 in _cairo_quartz_scaled_glyph_init at
#6    0x00128044 in _cairo_scaled_glyph_lookup at
#20    0x0023cd28 in cairo_show_page at

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