From c91e757da1835900b73dcde3128ea4f5a5290c59 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 26 Apr 2009 21:39:06 -0400 Subject: =?UTF-8?q?Bug=20580273=20=E2=80=93=20Font=20metrics=20functions?= =?UTF-8?q?=20incorrectly=20listed=20as=20reporting=20point=20sizes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [doc] Remove misleading sentence about points and Pango units --- pango/fonts.c | 8 ++++---- 1 file 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) -- cgit v1.2.1