freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Bug in ttgload


From: Werner LEMBERG
Subject: Re: [Devel] Bug in ttgload
Date: Tue, 30 Dec 2003 17:55:20 +0100 (CET)

> The function TT_Load_Simple_Glyph (in ttgload.c) will break if it
> meets a TrueType font file containing a ‘Repeat’ flag in a
> contour. [...]
>
> This code does not adhere to TrueType specification, which says that
> the number of flags may be fewer than the number of points in the
> glyph (that's the case with fonts like Arial and Times New Roman
> under the Windows XP I'm running).

Very interesting.  Until now nobody has complained.  Which glyphs have
been affected?  Can you send me a font (privately) for further
inspection?

> The attached file ttgload_smc.c contains a fix (or I hope so). I've
> marked all my modifications with the SmC tag so that you can easily
> track them.

Thanks a lot!  I've applied your patch (slightly modified) to the CVS.


    Werner

reply via email to

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