Bug 565379 – pango_font_description_better_match some style attributes
authorBehdad Esfahbod <behdad@gnome.org>
Mon, 22 Dec 2008 21:15:20 +0000 (21:15 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Mon, 22 Dec 2008 21:15:20 +0000 (21:15 +0000)
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

ChangeLog
pango/fonts.c

index 4e9d50c..9d4d746 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
 2008-12-17  Behdad Esfahbod  <behdad@gnome.org>
 
        Bug 564877 – pango-engine.h: PANGO_MODULE_PREFIX and G_MODULE_EXPORT
index 77d1adf..d3fbd69 100644 (file)
@@ -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