Bug 580273 – Font metrics functions incorrectly listed as reporting point sizes
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 27 Apr 2009 01:39:06 +0000 (21:39 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 27 Apr 2009 01:39:06 +0000 (21:39 -0400)
[doc] Remove misleading sentence about points and Pango units

pango/fonts.c

index 441e0d3..ab5397a 100644 (file)
@@ -1752,7 +1752,7 @@ pango_font_metrics_unref (PangoFontMetrics *metrics)
  * actual drawn ink. It is necessary to lay out the text to figure
  * where the ink will be.)
  *
- * Return value: the ascent, in Pango units. (1 point == %PANGO_SCALE Pango units.)
+ * Return value: the ascent, in Pango units.
  **/
 int
 pango_font_metrics_get_ascent (PangoFontMetrics *metrics)
@@ -1772,7 +1772,7 @@ pango_font_metrics_get_ascent (PangoFontMetrics *metrics)
  * actual drawn ink. It is necessary to lay out the text to figure
  * where the ink will be.)
  *
- * Return value: the descent, in Pango units. (1 point == %PANGO_SCALE Pango units.)
+ * Return value: the descent, in Pango units.
  **/
 int
 pango_font_metrics_get_descent (PangoFontMetrics *metrics)
@@ -1791,7 +1791,7 @@ pango_font_metrics_get_descent (PangoFontMetrics *metrics)
  * determining the initial size for a window. Actual characters in
  * text will be wider and narrower than this.
  *
- * Return value: the character width, in Pango units. (1 point == %PANGO_SCALE Pango units.)
+ * Return value: the character width, in Pango units.
  **/
 int
 pango_font_metrics_get_approximate_char_width (PangoFontMetrics *metrics)
@@ -1812,7 +1812,7 @@ pango_font_metrics_get_approximate_char_width (PangoFontMetrics *metrics)
  * is generally somewhat more accurate than the result of
  * pango_font_metrics_get_approximate_char_width() for digits.
  *
- * Return value: the digit width, in Pango units. (1 point == %PANGO_SCALE Pango units.)
+ * Return value: the digit width, in Pango units.
  **/
 int
 pango_font_metrics_get_approximate_digit_width (PangoFontMetrics *metrics)