The ttf2tfm utility from FreeType 1 segfaults when used on the Gentium font. To reproduce: 1) install media-libs/freetype-1.3.1-r5 2) install media-fonts/ttf-gentium-1.0.1 3) run ttf2tfm /usr/share/fonts/ttf-gentium/Gentium.ttf
Created attachment 142941 [details, diff] fix
Created attachment 146536 [details, diff] freetype-1.4_pre-ttf2tfm-segfault.patch Hi David. Can you test this patch for me?
(In reply to comment #2) > Created an attachment (id=146536) [edit] > freetype-1.4_pre-ttf2tfm-segfault.patch > > Hi David. Can you test this patch for me? That doesn't make a difference here. I assume the patch comes from this Debian bug[1], which talks about uninitialised memory, but valgrind doesn't show any errors except for the final segfault, so I think this is a different issue. [1] http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg98580.html
it does. i just happened to notice i couldn't reproduce your testcase any more when previously i could, and narrowed it down to that patch. your patch does look correct but i thought i'd check.
should be fixed by freetype-1.4_pre20080316, now in the tree package.masked.
Unmasked. Thanks for the report.