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: Werner LEMBERG
Subject: Re: [ft-devel] Load font with incorrect header
Date: Tue, 06 Oct 2015 07:14:24 +0200 (CEST)

> 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]