[cairo-bugs] [Bug 15702] New: Cannot build cairo_quartz_font_face_create_for_atsu_font_id on 64-bit Mac OS X

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 24 17:58:49 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15702

           Summary: Cannot build
                    cairo_quartz_font_face_create_for_atsu_font_id on 64-bit
                    Mac OS X
           Product: cairo
           Version: 1.6.4
          Platform: x86-64 (AMD64)
               URL: http://www.pixelglow.com/
        OS/Version: Mac OS X (All)
            Status: NEW
          Severity: major
          Priority: high
         Component: quartz backend
        AssignedTo: vladimir at pobox.com
        ReportedBy: glen.low at pixelglow.com
         QAContact: cairo-bugs at cairographics.org
                CC: ellson at research.att.com


Created an attachment (id=16169)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=16169)
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.


-- 
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