bug in mkfontdir?

Mikhail Teterin mi+kde at aldan.algebra.com
Mon Jun 13 13:51:51 GMT 2005


On Monday 13 June 2005 08:30 am, you wrote:
= > For example, the x11-fonts/gemini-fonts port creates PCF files from
= > BDF sources and then runs mkfontdir to create fonts.dir.
= >
= > With XFree86's mkfontdir the file will begin with the number 68 and
= > list the PCFs only -- as per the mkfontdir(1).
= >
= > With Xorg's, the file begins with 136 and each font ends up listed twice:
= >
= > 	[...]
= > 	gem1c.bdf -gemini-courier-medium-r-normal--8-80-75-75-m-50-koi8-u
= > 	gem1c.pcf.gz -gemini-courier-medium-r-normal--8-80-75-75-m-50-koi8-u
= > 	gem1cb.bdf -gemini-courier-bold-r-normal--8-80-75-75-m-50-koi8-u
= > 	gem1cb.pcf.gz -gemini-courier-bold-r-normal--8-80-75-75-m-50-koi8-u
= > 	[...]
= >
= > Is this something, I should only talk about with the Xorg people?
= 
= Hm, does this cause any trouble with using fonts or does it only
= generate larger file?

It is a problem. When the BDF is present it results in the inefficiency
of using it instead of the binary-tailored PCF. The worst is, however,
when the BDF is not installed at all -- font name will be listed (as in
xlsfonts), but the server will refuse to use it...

I had gemini-fonts in front of my fontpath (for koi8-u enoding). After
switching to Xorg, most of the fonts stopped working in xterm :-(

	-mi




More information about the freebsd-x11 mailing list