Re: selecting a specific font

Adam Wiggins <hiro dusk org> writes:
> Having just upgraded to RH8 (including the shiny new GNOME), I'm
> trying to get back my favorite terminal font, which is misc-fixed.
> I can get exactly the font I want by typing the following on the
> command line:
> xterm -fg grey -bg black -fn -misc-fixed-*-*-*-*-20-*-*-*-*-*-*-*
> However, I cannot seem to get gnome-terminal to offer me this font.
> There is no "Fixed" choice and monospace is an anti-aliased, serif
> font (poor choice for a terminal).
> I tried modifying /etc/pango/pangox.aliases by adding:
> monospace normal normal normal normal \
>   "-misc-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\

pangox.aliases is for the core X fonts backend to pango, which you
aren't using. You're using fontconfig, the the corresponding file is
> and so on down for each monospace definition, but that didn't
> seem to change much.  Then I modified /etc/fonts/fonts.conf
> and added:
> <alias><family>Fixed</family></alias>
> and
> <alias><family>monospace</family><prefer><family>Fixed</family></prefer></alias>

Here your problem is that the actual "fixed" font is not installed 
for fontconfig.

 mkdir ~/.fonts
 cp /usr/X11R6/lib/X11/fonts/misc/10x20.pcf.gz ~/.fonts
 gunzip ~/.fonts/10x20.pcf.gz

Now choose "fixed" in the font selector, after restarting all
gnome-terminals or starting a new terminal with the --disable-factory
option to force a new process.


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