[pango] Bug 580273 – Font metrics functions incorrectly listed as reporting point sizes
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Subject: [pango] Bug 580273 – Font metrics functions incorrectly listed as reporting point sizes
- Date: Sun, 26 Apr 2009 21:39:46 -0400 (EDT)
commit c91e757da1835900b73dcde3128ea4f5a5290c59
Author: Behdad Esfahbod <behdad behdad org>
Date: Sun Apr 26 21:39:06 2009 -0400
Bug 580273 â?? Font metrics functions incorrectly listed as reporting point sizes
[doc] Remove misleading sentence about points and Pango units
---
pango/fonts.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pango/fonts.c b/pango/fonts.c
index 441e0d3..ab5397a 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]