freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Load font with incorrect header


From: Chenchen Zhou
Subject: Re: [ft-devel] Load font with incorrect header
Date: Wed, 7 Oct 2015 10:37:14 +0800

Hi Werner,

Thanks for your efforts and inputs. That’s a really a good news for me. 

My dev environment is VS 2013, I will try to run ftview against my fonts. I 
will keep you post. 

Chenchen

> 在 2015年10月6日,13:14,Werner LEMBERG <address@hidden> 写道:
> 
> 
>> Recently I have come across some fonts which cannot be loaded by
>> FreeType v2.6.
>> 
>> The issue happens on line 1038 of sfobjs.c. The header.Units_Per_EM
>> is 0 and the program raises an exception.  This issue existed on a
>> home-made font "HwzSong.ttf" and open-source font “DejaVuSans.ttf”.
> 
> I can open both fonts without any problems using ftview on a GNU/Linux
> box.  They are working just fine.
> 
>> My dev environment is Windows 7 (64-bit) and VS 2013 (64-bit).
> 
> In case you don't find a solution, please provide a small, stand-alone
> TTY demo program (in plain C or C++) that demonstrates the problem.
> 
> 
>    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]