[Pkg-fonts-bugs] Bug#376677: ttf-freefont: horizontal spacing bug in freemono

Jan Willem Stumpel jstumpel at planet.nl
Tue Jul 4 08:22:29 UTC 2006


Package: ttf-freefont
Version: 20060501cvs-4
Severity: normal


I reported this before (in messages in the "bug #254113" thread) but I
submit it now as a separate bug, because apparently it did not receive
attention yet. Freemono has excessive horizontal spacing. This does not show
up in most applications, but it does when printing mail from Mozilla using
xprint. At the moment this can only be tested in Sid if xprint is taken from
"experimental", and if monospaced printing of mail messages is enabled in
user-side css. xprint itself is very buggy, but this particular bug is
really with ttf-freefont, not with xprint.

The effect can be seen at http://www.jw-stumpel.nl/freefont.png. 

The cure is, using fonttools:

ttx -t hhea FreeMono.ttf
edit FreeMono.ttx, change advanceWidthMax to 600 (this is the value
it had in ttf-freefont_20051102-2_all.deb, which did not have the bug).
ttx -m FreeMono.ttf FreeMono.ttx
mv FreeMono#1.ttf FreeMono.ttf

Do the same with the bold, oblique, and bold-oblique variants. Test after
/etc/init.d/xprint restart.

Regards, Jan

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages ttf-freefont depends on:
ii  defoma                        0.11.9     Debian Font Manager -- automatic f

Versions of packages ttf-freefont recommends:
ii  x-ttcidfont-conf              24         Configure TrueType and CID fonts f

-- debconf-show failed





More information about the Pkg-fonts-bugs mailing list