From: Kenichi Handa Date: Wed, 6 Feb 2008 11:52:58 +0000 (+0000) Subject: (ftfont_open): Fix calculation of font->font.averange_width. X-Git-Tag: emacs-pretest-23.0.90~8143 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1a2bd6faa2cf7f17cec38317e23eda3855ce838d;p=emacs.git (ftfont_open): Fix calculation of font->font.averange_width. --- diff --git a/src/ftfont.c b/src/ftfont.c index 4d9b1157070..cd76c292cd6 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -883,6 +883,7 @@ ftfont_open (f, entity, pixel_size) { int i; + font->font.average_width = 0; for (i = 32; i < 127; i++) { if (FT_Load_Char (ft_face, i, FT_LOAD_DEFAULT) != 0)