From 141e0771c37fc4e21766a5f24e4ee1a700ea4ca2 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 27 Apr 2007 07:49:07 +0000 Subject: [PATCH] Add comment to Richard's commit. svn path=/trunk/; revision=2235 --- pango/pangocairo-atsuifont.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pango/pangocairo-atsuifont.c b/pango/pangocairo-atsuifont.c index 02d6969..5d087af 100644 --- a/pango/pangocairo-atsuifont.c +++ b/pango/pangocairo-atsuifont.c @@ -219,6 +219,8 @@ pango_cairo_atsui_font_get_metrics (PangoFont *font, metrics->ascent = ats_metrics.ascent * cafont->size * PANGO_SCALE; metrics->descent = -ats_metrics.descent * cafont->size * PANGO_SCALE; + /* TODO: the following two are not really what they should be. + * See bug 433805 */ metrics->approximate_char_width = ats_metrics.maxAdvanceWidth * cafont->size * PANGO_SCALE; metrics->approximate_digit_width = ats_metrics.maxAdvanceWidth * cafont->size * PANGO_SCALE; -- 2.7.4