changeset 91578:d20d77b34b8e

(ftfont_open): Fix calculation of font->font.averange_width.
author Kenichi Handa <handa@m17n.org>
date Wed, 06 Feb 2008 11:52:58 +0000
parents 0d4efe9869a2
children d6609d967fc0
files src/ftfont.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ftfont.c	Wed Feb 06 11:51:55 2008 +0000
+++ b/src/ftfont.c	Wed Feb 06 11:52:58 2008 +0000
@@ -883,6 +883,7 @@
     {
       int i;
 
+      font->font.average_width = 0;
       for (i = 32; i < 127; i++)
 	{
 	  if (FT_Load_Char (ft_face, i, FT_LOAD_DEFAULT) != 0)