[Pkg-fonts-bugs] Bug#255569: Some progress but not quite

Jan Willem Stumpel jstumpel at planet.nl
Sat Jul 8 11:01:18 UTC 2006


It seems we want four things:

1. ftinfo -a /usr/share/fonts/truetype/freefont/FreeMono.ttf must
   show:
   /usr/share/fonts/truetype/freefont/FreeMono.ttf: 0: postscript:
   isFixedPitch: 1
2. typing a file in FreeMono in Openoffice, and extracting the
   content.xml, should show <style:font-face style:name="FreeMono"
   svg:font-family="FreeMono" style:font-family-generic="modern"
   style:font-pitch="fixed"/>
3. /usr/share/fonts/truetype/freefont/fonts.cache-1 should have
   spacing=100:
4. KDE control center should list FreeMono among the available
   monospaced fonts.

I could solve 1 - 3 (details below). However, 4 remains unsolved.
FreeMono remains unrecognised by KDE (I especially installed
kde-core to test this). But I noticed that Luxi Mono is *also* not
recognised by KDE. This is, apparently, a 3 year old Debian bug!
(#197163). Maybe it is some kind of "KDE" bug rather than a "font"
bug.

A) To solve 1 and 2: (starting from the newest version of
   ttf-freefont, ttf-freefont_20060501cvs-5_all.deb by Christian
   Perrier):

Using ttx, change in the "post" table

    <isFixedPitch value="0"/>
to

    <isFixedPitch value="1"/>

Then (this is important) do dpkg-reconfigure fontconfig.

B) To solve 2 and 3: use ttx, change in the "hmtx" table all width
   values to 600 (apart from .null, which can remain at
   width="0"). Also do dpkg-reconfigure fontconfig.

If you want to solve 1,2, and 3 together, you must do both A) and B).

Luxi Mono already has correct entries in the "post" and "hmtx"
tables, so it does not have the problems 1-3. But it has problem 4.

Regards, Jan







More information about the Pkg-fonts-bugs mailing list