[cairo-bugs] [Bug 22199] New: Scaled font faces cannot be used after another call to select_font_face on quartz
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 10 03:04:26 PDT 2009
http://bugs.freedesktop.org/show_bug.cgi?id=22199
Summary: Scaled font faces cannot be used after another call to
select_font_face on quartz
Product: cairo
Version: 1.8.6
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: quartz font backend
AssignedTo: vladimir at pobox.com
ReportedBy: marek at ifi.uzh.ch
QAContact: cairo-bugs at cairographics.org
Created an attachment (id=26634)
--> (http://bugs.freedesktop.org/attachment.cgi?id=26634)
Demonstration for the bug
cairo_scaled_font_t objects make the program crash (for instance when using
text_extents) if they are used after a different font face has been selected on
the context.
Retrieving the text_extents method immediately after getting the font via
cairo_get_scaled_font works, so I guess something is free'd to early.
The code I've attached works as expected on X11 with freetype (no crashes), but
fails to run on OS X 10.5.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list