From: Behdad Esfahbod Date: Mon, 22 Dec 2008 21:15:20 +0000 (+0000) Subject: Bug 565379 – pango_font_description_better_match some style attributes X-Git-Tag: 1.23.0~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0ff9db857da7a3fda8687940977489a1c5d261b;p=platform%2Fupstream%2Fpango.git Bug 565379 – pango_font_description_better_match some style attributes 2008-12-22 Behdad Esfahbod 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 --- diff --git a/ChangeLog b/ChangeLog index 4e9d50c..9d4d746 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-12-22 Behdad Esfahbod + + 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 Bug 564877 – pango-engine.h: PANGO_MODULE_PREFIX and G_MODULE_EXPORT diff --git a/pango/fonts.c b/pango/fonts.c index 77d1adf..d3fbd69 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