[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: font fix found, but how to make it stick?



Hmmm...

While I was considering editing the binary font file (helvB12.pcf.gz),
I noticed a different font file in the same location:

  /usr/X11R6/lib/X11/fonts/75dpi/helvB12-ISO8859-1.pcf.gz

After some inspection, it would seem that many fonts default to
iso10646, but also are available in a iso8859 versions.

What is the "Debian way" to give preference to the iso8859 versions?

I found that simply deleting the iso10646 version (helvB12.pcf.gz)
and then doing a update-fonts-dir does work.

BUT -- I think as soon as package xfonts-75dpi is upgraded, it will
undo the fix...

- Tor




On Mon, Sep 01, 2003 at 09:37:32PM +1000, Russell Shaw wrote:
> debl@noid.net wrote:
> >Hi to all,
> >
> >I have an old X client that requests this font:
> >
> >  -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*
> >
> >  ( /usr/X11R6/lib/X11/fonts/75dpi/helvB12.pcf.gz )
> >
> >Unfortunately, iso10646 encoding causes this client to show only boxes.
> >
> >I've found that I can fix it by manually editing
> >/usr/lib/X11/fonts/75dpi/fonts.dir like so:
> >
> >  < helvB12.pcf.gz 
> >  -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso10646-1
> >  ---
> >  > helvB12.pcf.gz 
> >  -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
> >
> >... changing the encoding to iso8859 for the font in question.
> >
> >My problem is that 'update-fonts-dir' completely un-does my edit!  There's
> >probably a defoma tweak that I need to make, but I can't figure it out.  Is
> >there a global setting to always prefer iso8859 for all fonts when 
> >possible?
> >
> >Any help is be greatly appreciated!
> 
> Change the name of the font in the font files. update-fonts-dir will
> regenerate fonts.dir from that info. man update-fonts-dir
> 
> http://www.debian.org/doc/debian-policy/ch-customized-programs.html#s11.8.5
> 
> The kernel has language settings you can select for things like 8859 etc.



Reply to: