[XeTeX] Linking with FreeType 2 on Mac OS X

Jjgod Jiang gzjjgod at gmail.com
Sun Feb 11 00:36:00 CET 2007


Hi,

2007/2/11, Jjgod Jiang <gzjjgod at gmail.com>:
> So I add fprintf(stderr, "%d ", gid); after last_adv =
> sfnt_get_ushort(sfont); in
> tt_table.c, then got some output like this:
>
> 0 1 2 ... 47656 0 1 2 3 ... 42807 42808 42809
> ** ERROR ** sfnt: Freetype failure 2...
>
> Very weird, huh? (47656 is the max number of characters Sun-ExtB.ttf
> contains...)

I traced a bit furthur, it appears to be not that weird, just the vmtx table is
broken but hmtx table still work.. (in tt_glyf.c:tt_build_tables)

- jjgod.


More information about the XeTeX mailing list