[tex-live] [PATCH] ttfdump: Fix PanoseXHeight definition error.

Reinhard Kotucha reinhard.kotucha at web.de
Thu Jan 31 02:53:04 CET 2013


On 2013-01-30 at 23:14:41 +0000, Akihiro Sagawa wrote:

 > 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.

The manual page says:

  .SH AUTHOR
  Li-Da Lho, ollie at ms1.hinet.net


Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the tex-live mailing list