summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-04-26 21:39:06 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-04-26 21:39:06 -0400
commitc91e757da1835900b73dcde3128ea4f5a5290c59 (patch)
treee18a052cae84410f0b4637d203a2b63130a37f9c
parentff7dc9ae5d9b1cc340c6859bd5f3aa3054b19bea (diff)
downloadpango-c91e757da1835900b73dcde3128ea4f5a5290c59.tar.gz
Bug 580273 – Font metrics functions incorrectly listed as reporting point sizes
[doc] Remove misleading sentence about points and Pango units
-rw-r--r--pango/fonts.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 441e0d38..ab5397a8 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -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)