> 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


_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to