Bug 22199 - Scaled font faces cannot be used after another call to select_font_face on quartz
Summary: Scaled font faces cannot be used after another call to select_font_face on qu...
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: quartz font backend (show other bugs)
Version: 1.8.6
Hardware: Other All
: medium normal
Assignee: Vladimir Vukicevic
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-10 03:04 UTC by Torsten Marek
Modified: 2018-08-25 13:45 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Demonstration for the bug (1006 bytes, text/x-csrc)
2009-06-10 03:04 UTC, Torsten Marek
Details

Description Torsten Marek 2009-06-10 03:04:21 UTC
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.
Comment 1 GitLab Migration User 2018-08-25 13:45:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/178.


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.