--- cairo/src/cairo-quartz-font.c.orig 2009-09-02 12:34:07.000000000 +0200 +++ cairo/src/cairo-quartz-font.c 2009-09-02 12:33:54.000000000 +0200 @@ -756,39 +756,3 @@ return ffont->cgFont; } - - -/* - * compat with old ATSUI backend - */ - -/** - * cairo_quartz_font_face_create_for_atsu_font_id - * @font_id: an ATSUFontID for the font. - * - * Creates a new font for the Quartz font backend based on an - * #ATSUFontID. This font can then be used with - * cairo_set_font_face() or cairo_scaled_font_create(). - * - * Return value: a newly created #cairo_font_face_t. Free with - * cairo_font_face_destroy() when you are done using it. - * - * Since: 1.6 - **/ -cairo_font_face_t * -cairo_quartz_font_face_create_for_atsu_font_id (ATSUFontID font_id) -{ - ATSFontRef atsFont = FMGetATSFontRefFromFont (font_id); - CGFontRef cgFont = CGFontCreateWithPlatformFont (&atsFont); - - return cairo_quartz_font_face_create_for_cgfont (cgFont); -} - -/* This is the old name for the above function, exported for compat purposes */ -cairo_font_face_t *cairo_atsui_font_face_create_for_atsu_font_id (ATSUFontID font_id); - -cairo_font_face_t * -cairo_atsui_font_face_create_for_atsu_font_id (ATSUFontID font_id) -{ - return cairo_quartz_font_face_create_for_atsu_font_id (font_id); -} --- cairo/src/cairo-quartz.h.orig 2009-09-02 12:35:28.000000000 +0200 +++ cairo/src/cairo-quartz.h 2009-09-02 12:35:48.000000000 +0200 @@ -66,9 +66,6 @@ cairo_public cairo_font_face_t * cairo_quartz_font_face_create_for_cgfont (CGFontRef font); -cairo_public cairo_font_face_t * -cairo_quartz_font_face_create_for_atsu_font_id (ATSUFontID font_id); - #endif /* CAIRO_HAS_QUARTZ_FONT */ CAIRO_END_DECLS