From 817d4b0c9a354526389290c6d5a7662713d67cd8 Mon Sep 17 00:00:00 2001 From: Brian Ewins Date: Sat, 9 Jun 2007 19:14:05 +0100 Subject: [PATCH] [atsui] Document ATSUI Add cairo_atsui_font_face_create_for_atsu_font_id and ATSUI to the documentation. Don't enable it yet, since this is still unsupported. --- doc/public/tmpl/cairo-atsui.sgml | 2 +- src/cairo-atsui-font.c | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/doc/public/tmpl/cairo-atsui.sgml b/doc/public/tmpl/cairo-atsui.sgml index 4a8b35aaf..fb9179313 100644 --- a/doc/public/tmpl/cairo-atsui.sgml +++ b/doc/public/tmpl/cairo-atsui.sgml @@ -2,7 +2,7 @@ ATSUI Fonts - +Font support for ATSUI on OS X diff --git a/src/cairo-atsui-font.c b/src/cairo-atsui-font.c index 34560d288..361e787e7 100644 --- a/src/cairo-atsui-font.c +++ b/src/cairo-atsui-font.c @@ -129,6 +129,19 @@ static const cairo_font_face_backend_t _cairo_atsui_font_face_backend = { _cairo_atsui_font_face_scaled_font_create }; +/** + * cairo_atsui_font_face_create_for_atsu_font_id + * @font_id: an ATSUFontID for the font. + * + * Creates a new font for the ATSUI 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.4 + **/ cairo_font_face_t * cairo_atsui_font_face_create_for_atsu_font_id (ATSUFontID font_id) {