![](https://secure.gravatar.com/avatar/adfff96f4299fb3ee3b199b06eea68da.jpg?s=120&d=mm&r=g)
Bugs item #874, was opened at 2007-10-11 14:34
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=493&aid=874&group_id=106
Category: Fonts
Group: v1.40.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Stefan Becuwe (sbecuwe)
Assigned to: Hartmut Henkel (hhenkel)
Summary: problem with writettf?
Initial Comment:
Hello
I'm using texlive 2007 and encountered the following
problem with a truetype font:
[...]
{/usr/local/apps/texlive-2007/texmf/fonts/enc/ttf2pk/ba
se/T1-WGL4.enc}
Comment By: Hartmut Henkel (hhenkel) Date: 2007-10-12 13:31
Message: Logged In: YES user_id=929 thanks a lot for the test, but the fact that it works after the patch suggests that actually your TT font is broken (not pdftex) -- which might even generate broken or non-standard PDF files, beware! Seems the index = 0 should never happen with a normal font. So it would help a lot to have your font for inspection. Regards, Hartmut ---------------------------------------------------------------------- Comment By: Stefan Becuwe (sbecuwe) Date: 2007-10-12 09:54 Message: Logged In: YES user_id=4723 Changing index > 0 into index >= 0 did solve the problem. I have attached anyway the minimal testcase (generated after the suggested patch). Thanks for solving this problem! Stefan ---------------------------------------------------------------------- Comment By: Martin Schröder (oneiros) Date: 2007-10-11 19:21 Message: Logged In: YES user_id=421 Can you create a minimal testcase and attach it here together with the font? systems/mkjobtexmf from CTAN might be helpful. ---------------------------------------------------------------------- Comment By: Hartmut Henkel (hhenkel) Date: 2007-10-11 16:14 Message: Logged In: YES user_id=929 does it go away if you change in pdftex-1.40.5, writettf.c in function prepend_subset_tag() the line assert(index > 0... into assert(index >= 0...? ---------------------------------------------------------------------- You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=874&group_id=106