diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2001-10-26 21:41:05 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2001-10-26 21:41:05 +0000 |
commit | cbd8db20b5d28310a6ac564a2b4fa1acd04fcbe2 (patch) | |
tree | a32f1572a5836bd419d040daf623788ea4aa0cdc /pango/pangoft2-fontmap.c | |
parent | f846ecca56933276c1a2262a2b5c55b62d2e4e07 (diff) | |
download | pango-cbd8db20b5d28310a6ac564a2b4fa1acd04fcbe2.tar.gz |
Documentation updates.
* pango/fonts.c, pango/pangoft2.c, pango/pangowin32.c,
pango/pangoxft-font.c, pango/pangox-fontmap.c,
pango/pangoft2-fontmap.c, pango/pangoxft-fontmap.c,
pango/pangowin32-fontmap.c, docs/pango-sections.txt,
docs/tmpl/coverage-maps.sgml, docs/tmpl/fonts.sgml,
docs/tmpl/freetype-fonts.sgml, docs/tmpl/glyphs.sgml,
docs/tmpl/layout.sgml, docs/tmpl/main.sgml, docs/tmpl/modules.sgml,
docs/tmpl/tab-stops.sgml, docs/tmpl/text-attributes.sgml,
docs/tmpl/win32-fonts.sgml: Documentation updates.
Diffstat (limited to 'pango/pangoft2-fontmap.c')
-rw-r--r-- | pango/pangoft2-fontmap.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pango/pangoft2-fontmap.c b/pango/pangoft2-fontmap.c index 32f8af7f..1419347e 100644 --- a/pango/pangoft2-fontmap.c +++ b/pango/pangoft2-fontmap.c @@ -276,6 +276,15 @@ pango_ft2_scan_directory (const char *path, return found_font; } +/** + * pango_ft2_font_map_for_display: + * + * Returns a #PangoFT2FontMap. Font maps are cached and should + * not be freed. If the font map is no longer needed, it can + * be released with pango_ft2_shutdown_display(). + * + * Returns: a #PangoFT2FontMap. + **/ PangoFontMap * pango_ft2_font_map_for_display (void) { @@ -861,6 +870,14 @@ free_coverages_foreach (gpointer key, pango_coverage_unref (value); } +/** + * pango_ft2_font_map_get_font_cache: + * @font_map: a #PangoFT2FontMap. + * + * Obtains the font cache associated with the given font map. + * + * Returns: the #PangoFT2FontCache of @font_map. + **/ PangoFT2FontCache * pango_ft2_font_map_get_font_cache (PangoFontMap *font_map) { @@ -982,6 +999,13 @@ dump_family (gpointer key, pango_ft2_family_entry_dump (indent, entry); } +/** + * pango_ft2_fontmap_dump: + * @indent: the indent to use. + * @fontmap: a #PangoFT2FontMap. + * + * Writes a description of the given font map to stdout. + **/ void pango_ft2_fontmap_dump (int indent, PangoFontMap *fontmap) |