diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-01-21 19:40:08 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-01-21 19:40:08 +0000 |
commit | 553014c7319eecc18c939365e40d632a74098f7e (patch) | |
tree | 86151b8180e67449b264b93772e077c8332ff7bc /pango | |
parent | 22b183c3aa6ea01265ed79fac03467e3160c3b9d (diff) | |
download | pango-553014c7319eecc18c939365e40d632a74098f7e.tar.gz |
Finish ATSUI module work. Bug #322022, Matthias Clasen.
2006-01-21 Behdad Esfahbod <behdad@gnome.org>
Finish ATSUI module work. Bug #322022, Matthias Clasen.
* docs/tmpl/atsui-fonts.sgml: Added.
* docs/pango-docs.sgml: Updated to reflect above change.
* docs/pango-sections.txt: Updated to reflect above change and
also document Standard ATSUI symbols.
* pango/pangocairo-atsuifont.c
(pango_cairo_atsui_font_get_atsu_font_id): Add docs.
* pango/pangoatsui-fontmap.c: Register included ATSUI modules.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pangoatsui-fontmap.c | 3 | ||||
-rw-r--r-- | pango/pangocairo-atsuifont.c | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/pango/pangoatsui-fontmap.c b/pango/pangoatsui-fontmap.c index a547df91..257536e5 100644 --- a/pango/pangoatsui-fontmap.c +++ b/pango/pangoatsui-fontmap.c @@ -179,6 +179,9 @@ pango_atsui_family_class_init (PangoFontFamilyClass *class) class->list_faces = pango_atsui_family_list_faces; class->get_name = pango_atsui_family_get_name; class->is_monospace = pango_atsui_family_is_monospace; + + for (i = 0; _pango_included_atsui_modules[i].list; i++) + pango_module_register (&_pango_included_atsui_modules[i]); } static void diff --git a/pango/pangocairo-atsuifont.c b/pango/pangocairo-atsuifont.c index 81a9bac5..e28a92d1 100644 --- a/pango/pangocairo-atsuifont.c +++ b/pango/pangocairo-atsuifont.c @@ -51,6 +51,16 @@ struct _PangoCairoATSUIFontClass static cairo_font_face_t *pango_cairo_atsui_font_get_font_face (PangoCairoFont *font); +/** + * pango_cairo_atsui_font_get_atsu_font_id: + * @cafont: A #PangoCairoATSUIFont + * + * Returns the ATSUFontID of a font. + * + * Returns: the ATSUFontID associated to @cafont. + * + * Since: 1.12 + */ ATSUFontID pango_cairo_atsui_font_get_atsu_font_id (PangoCairoATSUIFont *cafont) { |