Summary: |
Scaled font faces cannot be used after another call to select_font_face on quartz |
Product: |
cairo
|
Reporter: |
Torsten Marek <marek> |
Component: |
quartz font backend | Assignee: |
Vladimir Vukicevic <vladimir> |
Status: |
RESOLVED
MOVED
|
QA Contact: |
cairo-bugs mailing list <cairo-bugs> |
Severity: |
normal
|
|
|
Priority: |
medium
|
CC: |
ranma42
|
Version: |
1.8.6 | |
|
Hardware: |
Other | |
|
OS: |
All | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Demonstration for the bug
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 26634 [details] 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.