<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - cairo quartz font broken in iOS 8 / CGFontGetGlyphPath deprecated in MacOS 10.10 yosemite"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84324#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - cairo quartz font broken in iOS 8 / CGFontGetGlyphPath deprecated in MacOS 10.10 yosemite"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84324">bug 84324</a>
from <span class="vcard"><a class="email" href="mailto:rkdgu+a44zyz19a8hys@sharklasers.com" title="rkdgu+a44zyz19a8hys@sharklasers.com">rkdgu+a44zyz19a8hys@sharklasers.com</a>
</span></b>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>