bug in mkfontdir?
Dejan Lesjak
dejan.lesjak at ijs.si
Mon Jun 13 17:10:18 GMT 2005
On Monday 13 of June 2005 15:51, Mikhail Teterin wrote:
> 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 :-(
I tried to revert Imakefile and mkfontdir.c to previous version from Xorg CVS,
but that fails. Grabbing mkfontdir.c from XFree86 however works. So here's
what you can try:
Grab
http://www.ijs.si/~lesi/xorg/mkfontdir/mkfontdir.c
and
http://www.ijs.si/~lesi/xorg/mkfontdir/patch-programs_mkfontdir_Imakefile
and put them both under xorg-clients/files directory. Then apply patch
http://www.ijs.si/~lesi/xorg/mkfontdir/Makefile.diff
to xorg-clients port Makefile and reinstall xorg-clients.
After that try reinstalling gemini fonts.
Dejan
More information about the freebsd-x11
mailing list