[tex-live] [PATCH] ttfdump: Fix PanoseXHeight definition error.
Akihiro Sagawa
sagawa.aki at gmail.com
Thu Jan 31 00:14:41 CET 2013
Hi,
I send a patch for ttfdump (texk/ttfdump/*). The purpose is to avoid
coredump by certain ttf files, e.g. M+ outline font [1].
[1] ... 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.
Regards,
Akihiro Sagawa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ttfdump_os2_panose.patch
Type: application/octet-stream
Size: 416 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20130130/0dea7aaa/attachment.obj>
More information about the tex-live
mailing list