On Fri, Nov 22, 2002 at 09:32:09AM +0100, G�tz Waschk wrote:
> 
> I also don't like the default antialiasing. I want my -misc-fixed-*
> font back. I could improve the readability a bit by setting the
> colours to white on black instead of my old gray on black, but still. 

OK!  I figured out how to get exactly the font I was using before I
upgraded gnome-terminal to the vte widget using version.

If you look in the list of selectable fonts, you should see a "Fixed"
font.  This gives access to the non-anti-aliased PCF fonts that are in
/usr/X11R6/lib/X11/fonts/misc.  I found that selecting a font was not
"fine-grained" enough (for me anyway) and that I could not choose the
font that is commonly aliased to "fixed".  This font is actually

  -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1

and is in the file 6x13-ISO8859-1.pcf.gz.  By choosing 8 I got a font
that was slightly shorterm and by choosing 9 I got a font that was
slightly taller than "fixed".  I didn't like either.

So because fontconfig/Pango did not allow me to choose exactly which
PCF font I wanted, I changed the /etc/fonts/fonts.conf file as such:

<!-- this includes way too many "Fixed" fonts and doesn't allow choice
    <dir>/usr/X11R6/lib/X11/fonts</dir>
-->
    <dir>/usr/X11R6/lib/X11/fonts/drakfont</dir>
    <dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
    <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>

I commented out the entry "/usr/X11R6/lib/X11/fonts" and cherry-picked
which subdirs I wanted.  This eliminated all fonts named "Fixed" from
gnome-terminal.  I then copied the 6x13-ISO8859-1.pcf.gz (and
uncompressed it although that is probably unnecessary) to ~/.fonts.
Now I only ever get the same font (and size) whenever I choose any
size "Fixed".  This is good enough for me.  I only ever want that font
for terminals anyway.

Hope this helps y'all get your favourite "fixed" font back and working
in gnome-terminal.

It is worth noting that there does not seem to be a way for a user to
"undo" or cancel options in the global /etc/fonts/fonts.conf (like
only using certain subdirs of /usr/X11R6/lib/X11/fonts even though
/usr/X11R6/lib/X11/fonts is specified in the global file).  A
directive like:

  <dir>!/usr/X11R6/lib/X11/fonts/misc</dir>

would be nice to eliminate the need to edit the global config file and
have to manage it during every upgrade of fontconfig.

b.

-- 
Brian J. Murrell

Attachment: msg82171/pgp00000.pgp
Description: PGP signature

Reply via email to