Calculate average digit width correctly, not as max of the digit widths.
authorTor Lillqvist <tml@novell.com>
Sun, 21 May 2006 23:37:10 +0000 (23:37 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 21 May 2006 23:37:10 +0000 (23:37 +0000)
commitd54bd3a213fd550509e07e5bfbce5f1df8599565
treea4e1f8ccb244d745d920899bbf052fd7ae6c7617
parent3818077a8f973e88a478e2181b80b7b200459990
Calculate average digit width correctly, not as max of the digit widths.

2006-05-22  Tor Lillqvist  <tml@novell.com>

* 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.
ChangeLog
pango/pangowin32.c