Bug 15702

Summary: Cannot build cairo_quartz_font_face_create_for_atsu_font_id on 64-bit Mac OS X
Product: cairo Reporter: Glen Low <glen.low>
Component: quartz backendAssignee: Vladimir Vukicevic <vladimir>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: major    
Priority: high CC: ellson
Version: 1.6.4   
Hardware: x86-64 (AMD64)   
OS: Mac OS X (All)   
URL: http://www.pixelglow.com/
Whiteboard:
i915 platform: i915 features:
Attachments: Fence cairo_quartz_font_face_create_for_atsu_font_id on 64-bit Mac OS X

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.