Commit 1a2bd6fa authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(ftfont_open): Fix calculation of font->font.averange_width.

parent 3943ed76
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment