[cairo-bugs] [Bug 97895] New: [PATCH] Quartz font backend compilation for iOS

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 22 12:17:26 UTC 2016


            Bug ID: 97895
           Summary: [PATCH] Quartz font backend compilation for iOS
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: Mac OS X (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: quartz font backend
          Assignee: vladimir at pobox.com
          Reporter: peter at peter-b.co.uk
        QA Contact: cairo-bugs at cairographics.org

Created attachment 126730
  --> https://bugs.freedesktop.org/attachment.cgi?id=126730&action=edit
iOS build support patch v1 (needs further work)

Cairo's Quartz font backend is quite useful when compiling Cairo for iOS. 
However, on iOS, the ApplicationServices framework is not available.  This
mostly doesn't present a problem; the CoreGraphics and CoreText frameworks
contain everything that's needed for the backend to be helpful.

The Cairo master branch source code won't compile unmodified for iOS because it
assumes the availability of ApplicationServices and the ATSUFontID type

This patch modifies the Quartz font backend to omit the
ApplicationServices-dependent code depending on three feature macros:


We do not use the Autotools-based build system for our solution, because it
doesn't understand iOS SDKs, and so this patch doesn't make any build system
changes to define these macros as necessary.

However, I am keen to get this patch (or some variant) of this patch upstream,
because I believe it would be useful to other Cairo users, and am happy to help
with any changes required.

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20160922/c85dbbf7/attachment.html>

More information about the cairo-bugs mailing list