[cairo] Quartz backend on iOS/iPhone

cu cairouser at yahoo.com
Mon Mar 26 19:50:53 PDT 2012


Oops, this might be a moot point as cairo Quartz backend appears to be
using "non-published APIs" and as such linking against it gets an app
auto-rejected from the app store. Something new I learned today.

If anyone wants to talk about making Quartz backend "iOS compliant" -
let me know.

--cu

Guido Lorenz wrote:
> Hi,
>
> I'd like to share a small patch that allowed me to build the Quartz backend for iOS/iPhone. [1]
>
> One part of the patch fixes the configure script which did look for the correct framework (CoreGraphics on iOS, instead of ApplicationServices on Mac OS X), but did not set use_quartz back to "yes" (after the failed search for ApplicationServices set it to "no").
>
> The other part conditionally includes the CoreGraphics header instead of ApplicationServices in cairo-quartz.h. It also disables cairo_quartz_font_face_create_for_atsu_font_id() -- I'm not sure if ATSUI is available on iOS (afaik it is at least deprecated), so using an "ifdef" was the easiest solution.
>
> I have only tested it a little, but it seems to work for me.
>
> Cheers,
> Guido
>
>   



More information about the cairo mailing list