changeset 91604:bd8c44318d8a

(ftfont_open): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Thu, 07 Feb 2008 01:13:18 +0000
parents 847dde8fc5c4
children ffe8367d4bdc
files src/ftfont.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ftfont.c	Wed Feb 06 23:02:52 2008 +0000
+++ b/src/ftfont.c	Thu Feb 07 01:13:18 2008 +0000
@@ -883,7 +883,7 @@
     {
       int i;
 
-      font->font.average_width = 0;
+      font->font.average_width = font->font.space_width = 0;
       for (i = 32; i < 127; i++)
 	{
 	  if (FT_Load_Char (ft_face, i, FT_LOAD_DEFAULT) != 0)