freetype
[Top][All Lists]
Advanced

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

Re: [ft] Font broken or FreeType?


From: Werner LEMBERG
Subject: Re: [ft] Font broken or FreeType?
Date: Mon, 03 Nov 2008 14:01:00 +0100 (CET)

> I encountered a problem with FT_Load_Glyph() using the "Helvetica
> Italic" font (HELVI.PFB) that is included with OS/2.  It fails for
> one glyph (499 starting from 0) with error code 0xa0 ("opcode syntax
> error").  The short program below demonstrates it.  I can easily
> provide the font, if needed.

Confirmed.  Reason is that the `subrs' array is filled in a
non-standard way (probably due to an error during conversion from TTF
to PS): subroutine 626 is defined twice.  This isn't an error per se,
but until now I've never encountered such a font, and FreeType doesn't
handle this well: the last subroutine isn't stored by FreeType,
causing the problem you've observed.

Will try to find a fix soon.


    Werner




reply via email to

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