CVSROOT: /cvs/gnome
Module name: pango
Changes by: behdad 06/05/22 16:25:54
Modified files:
. : ChangeLog
pango : pangocairo-win32font.c pangofc-font.c
pangowin32.c
Log message:
2006-05-22 Behdad Esfahbod <[EMAIL PROTECTED]>
Bug 342525 â With PangoFc and PangoWin32, approximate digit width is
not what it says
* pango/pangocairo-win32font.c (max_glyph_width),
(create_metrics_for_context): Use max digit width instead of average.
Reverted the following changes:
* pango/pangofc-font.c (pango_fc_font_create_metrics_for_context):
Likewise for PangoFc. Compute average instead of max.
(max_glpyh_with): Now unused, drop.
* pango/pangowin32.c (pango_win32_font_get_metrics): Calculate
average digit width correctly, not as max of the digit
widths. (#342525) Note that this code doesn't really get much used
currently (instead the code in pangocairo-win32font.c is used),
fixed only for completeness.
(max_glpyh_with): Now unused, drop.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=pango&who=behdad&date=explicit&mindate=2006-05-22%2016:24&maxdate=2006-05-22%2016:26
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list