summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-12-10 20:57:06 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-12-10 20:57:06 +0000
commited0d24ca568e4201545fdc79706554de1d41c404 (patch)
treeee97b851ce81d29cc12f9b8b2e9f4fbb6824d1a8
parent3d03fdbfe443cfea53a51def8275f200d4aa0617 (diff)
downloadpango-ed0d24ca568e4201545fdc79706554de1d41c404.tar.gz
Improve pango_cairo_font_map_get_default() docs.
2007-12-10 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-fontmap.c: Improve pango_cairo_font_map_get_default() docs. svn path=/trunk/; revision=2521
-rw-r--r--ChangeLog5
-rw-r--r--pango/pangocairo-fontmap.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b7ad3b49..db65be0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-12-10 Behdad Esfahbod <behdad@gnome.org>
+ * pango/pangocairo-fontmap.c: Improve
+ pango_cairo_font_map_get_default() docs.
+
+2007-12-10 Behdad Esfahbod <behdad@gnome.org>
+
Bug 399573 – replace strtoul in pango-markup.c with pango_scan_int()
* pango/pango-markup.c (span_parse_func): Use pango_scan_int() and
diff --git a/pango/pangocairo-fontmap.c b/pango/pangocairo-fontmap.c
index 796ac460..cb7dd9d8 100644
--- a/pango/pangocairo-fontmap.c
+++ b/pango/pangocairo-fontmap.c
@@ -149,7 +149,12 @@ pango_cairo_font_map_new_for_font_type (cairo_font_type_t fonttype)
/**
* pango_cairo_font_map_get_default:
*
- * Gets a default font map to use with Cairo.
+ * Gets a default #PangoCairoFontMap to use with Cairo.
+ *
+ * Note that the type of the returned object will depend
+ * on the particular font backend Cairo was compiled to use;
+ * You generally should only use the #PangoFontMap and
+ * #PangoCairoFontMap interfaces on the returned object.
*
* Return value: the default Cairo fontmap for #Pango. This
* object is owned by Pango and must not be freed.