pango r2759 - in trunk: . pango



Author: behdad
Date: Mon Dec 15 19:37:25 2008
New Revision: 2759
URL: http://svn.gnome.org/viewvc/pango?rev=2759&view=rev

Log:
2008-12-15  Behdad Esfahbod  <behdad gnome org>

        Bug 564644 â Not complete description of the
        pango_font_description_better_match function

        * pango/fonts.c: Improve docs even more.

Modified:
   trunk/ChangeLog
   trunk/pango/fonts.c

Modified: trunk/pango/fonts.c
==============================================================================
--- trunk/pango/fonts.c	(original)
+++ trunk/pango/fonts.c	Mon Dec 15 19:37:25 2008
@@ -625,11 +625,14 @@
  * @new_match: a #PangoFontDescription
  *
  * Determines if the style attributes of @new_match are a closer match
- * for @desc than @old_match, or if @old_match is %NULL, determines if
- * @new_match is a match at all. Approximate matching is done for
+ * for @desc than those of @old_match are, or if @old_match is %NULL,
+ * determines if @new_match is a match at all.
+ * Approximate matching is done for
  * weight and style; other style attributes must match exactly.
  * Style attributes are all attributes other than family and size-related
- * attributes.
+ * attributes.  Approximate matching for style considers PANGO_STYLE_OBLIQUE
+ * and PANGO_STYLE_ITALIC as matches, but not as good a match as when the
+ * styles are equal.
  *
  * Return value: %TRUE if @new_match is a better match
  **/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]