summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-11-28 23:53:18 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-11-28 23:53:18 +0000
commitbbdb12a9e6894109259286050464da44904d21d8 (patch)
treee9f4966778a0b592314c3f25f9bc799b60d3f103 /pango
parenta6d6171d26c953a04f9f98d3366fafd9920b9ed2 (diff)
downloadpango-bbdb12a9e6894109259286050464da44904d21d8.tar.gz
Add docs.
* docs/tmpl/xft-fonts.sgml: * docs/tmpl/freetype-fonts.sgml: Add docs. * pango/pangoxft-fontmap.c (pango_xft_substitute_changed): * pango/pangoft2-fontmap.c (pango_ft2_font_map_set_default_substitute): Fix doc typos.
Diffstat (limited to 'pango')
-rw-r--r--pango/opentype/pango-ot-info.c4
-rw-r--r--pango/pangoft2-fontmap.c4
-rw-r--r--pango/pangoxft-fontmap.c3
3 files changed, 7 insertions, 4 deletions
diff --git a/pango/opentype/pango-ot-info.c b/pango/opentype/pango-ot-info.c
index f32f141d..2152e084 100644
--- a/pango/opentype/pango-ot-info.c
+++ b/pango/opentype/pango-ot-info.c
@@ -105,12 +105,14 @@ pango_ot_info_finalizer (void *object)
}
/**
- * pango_ot_info_new:
+ * pango_ot_info_get:
* @face: a #FT_Face.
* @returns: the #PangoOTInfo for @face. This object will
* have the same lifetime as FT_Face.
*
* Returns the #PangoOTInfo structure for the given FreeType font.
+ *
+ * Since: 1.2
**/
PangoOTInfo *
pango_ot_info_get (FT_Face face)
diff --git a/pango/pangoft2-fontmap.c b/pango/pangoft2-fontmap.c
index c9c28aa1..5edb890b 100644
--- a/pango/pangoft2-fontmap.c
+++ b/pango/pangoft2-fontmap.c
@@ -119,7 +119,7 @@ static PangoFT2FontMap *pango_ft2_global_fontmap = NULL;
* to cache information about available fonts, and holds
* certain global parameters such as the resolution and
* the default substitute function (see
- * pango_font_map_set_default_substitute()).
+ * pango_ft2_font_map_set_default_substitute()).
*
* Return value: the newly created fontmap object. Unref
* with g_object_unref() when you are finished with it.
@@ -160,7 +160,7 @@ pango_ft2_font_map_new (void)
}
/**
- * pango_ft2_fontmap_set_default_substitute:
+ * pango_ft2_font_map_set_default_substitute:
* @fontmap: a #PangoFT2FontMap
* @func: function to call to to do final config tweaking
* on #FcPattern objects.
diff --git a/pango/pangoxft-fontmap.c b/pango/pangoxft-fontmap.c
index f5a50fb3..9e3f0ca5 100644
--- a/pango/pangoxft-fontmap.c
+++ b/pango/pangoxft-fontmap.c
@@ -297,7 +297,8 @@ pango_xft_set_default_substitute (Display *display,
/**
* pango_xft_substitute_changed:
- * @fontmap: a #PangoXftFontmap
+ * @display: an X Display
+ * @screen: the screen number of a screen within @display
*
* Call this function any time the results of the
* default substitution function set with