[tex-live] [PATCH] ttfdump: Fix PanoseXHeight definition error.
sagawa.aki at gmail.com
Thu Jan 31 00:14:41 CET 2013
I send a patch for ttfdump (texk/ttfdump/*). The purpose is to avoid
coredump by certain ttf files, e.g. M+ outline font .
 ... http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/index-en.html
There is an error in PanoseXHeight array definition in include/os2_P.h.
Due to lacking some commas at the end of lines, it doesn't have enough
elements. Therefore, if we dump OS/2 table with certain valid X-height
PANOSE value, like Ducking/Large(7), it leads to the access violation
around line 130 in libttf/os2.c.
As I cannot find out original ttfdump site and it seems that tex-live
ttfdump repository was updated in recent years, I post the patch to this
list. If you know better place to post this patch, please let me know.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 416 bytes
Desc: not available
More information about the tex-live