summaryrefslogtreecommitdiff
path: root/pango/fonts.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-12-22 21:15:20 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-12-22 21:15:20 +0000
commite0ff9db857da7a3fda8687940977489a1c5d261b (patch)
tree6bb587830a6199ec457b06ee6ada0094a051b1dc /pango/fonts.c
parente45ffc044b402277fe509122ab374bd28bba6234 (diff)
downloadpango-e0ff9db857da7a3fda8687940977489a1c5d261b.tar.gz
Bug 565379 – pango_font_description_better_match some style attributes
2008-12-22 Behdad Esfahbod <behdad@gnome.org> Bug 565379 – pango_font_description_better_match some style attributes of old_match are not checked * pango/fonts.c: Improve docs. svn path=/trunk/; revision=2763
Diffstat (limited to 'pango/fonts.c')
-rw-r--r--pango/fonts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 77d1adf6..d3fbd69b 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -634,6 +634,8 @@ compute_distance (const PangoFontDescription *a,
* and PANGO_STYLE_ITALIC as matches, but not as good a match as when the
* styles are equal.
*
+ * Note that @old_match should match @desc.
+ *
* Return value: %TRUE if @new_match is a better match
**/
gboolean