Bug 15702 - Cannot build cairo_quartz_font_face_create_for_atsu_font_id on 64-bit Mac OS X
Summary: Cannot build cairo_quartz_font_face_create_for_atsu_font_id on 64-bit Mac OS X
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: quartz backend (show other bugs)
Version: 1.6.4
Hardware: x86-64 (AMD64) Mac OS X (All)
: high major
Assignee: Vladimir Vukicevic
QA Contact: cairo-bugs mailing list
URL: http://www.pixelglow.com/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-24 17:58 UTC by Glen Low
Modified: 2009-06-11 15:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Fence cairo_quartz_font_face_create_for_atsu_font_id on 64-bit Mac OS X (1019 bytes, patch)
2008-04-24 17:58 UTC, Glen Low
Details | Splinter Review

Description Glen Low 2008-04-24 17:58:43 UTC
Created attachment 16169 [details] [review]
Fence cairo_quartz_font_face_create_for_atsu_font_id on 64-bit Mac OS X

In 64-bit Mac OS X 10.5, the definition for various FMFont/ATSUFontID functions are missing, presumably because Quickdraw as a whole is missing. Therefore, when you build cairo for 64-bit Mac OS X, it chokes on cairo_quartz_font_face_create_for_atsu_font_id.

I've attached a patch that fences the definition and implementation with #if !__LP64__, which should prevent it building on 64-bit Mac OS X. The patch does remove it from the public API in 64-bit, but that's OK since it would be impossible to generate a sensible FMFont/ATSUFontID to pass to it.
Comment 1 Jeff Muizelaar 2009-06-11 15:20:13 UTC
Fixed with http://cgit.freedesktop.org/cairo/commit/?id=13b56c42bfdb9ad36f9b1bd22f83d7ef3a074ddc

Sorry this took so long.


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.