[Pkg-fonts-bugs] Bug#358526: A working fix
Jan Willem Stumpel
jstumpel at planet.nl
Thu Apr 27 09:19:11 UTC 2006
Following on my previous message, I can confirm that it is
possible to cure the bug in FreeMono.ttf by using fonttools (ttx)
to dump the GSUB table:
TZ=GMT ttx -t GSUB FreeMono.ttf
Then, edit the resulting FreeMono.ttx and remove the following lines:
<LigatureSet glyph="I">
<Ligature components="J" glyph="IJ"/>
</LigatureSet>
<LigatureSet glyph="f">
<Ligature components="l" glyph="fl"/>
<Ligature components="i" glyph="fi"/>
<Ligature components="f" glyph="ff"/>
</LigatureSet>
<LigatureSet glyph="i">
<Ligature components="j" glyph="ij"/>
</LigatureSet>
<LigatureSet glyph="longs">
<Ligature components="t" glyph="uniFB05"/>
</LigatureSet>
<LigatureSet glyph="s">
<Ligature components="t" glyph="uniFB06"/>
</LigatureSet>
(This shows that FreeMono also wants the ij combination to be
replaced by a ligature).
Then re-compile FreeMono.ttx:
TZ=GMT ttx FreeMono.ttx
A file FreeMono#1.ttf will result which, when copied to the
original FreeMono.ttf, works without the bug. Now for the other
files in the ttf-freefont package ...
Setting the TZ=GMT environment variable is needed to cure some
weird bug in the ttx program itself.
Regards, Jan
More information about the Pkg-fonts-bugs
mailing list