Re: Change default monospace font

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

 



On Wed, Nov 12, 2003 at 08:03:23PM -0200, Jose Romildo Malaquias wrote:
> On Wed, Nov 12, 2003 at 04:27:35PM -0500, Paul Pianta wrote:
> > Jose Romildo Malaquias wrote:
> > 
> > >How can I change the default monospace font system-wide?
> > >I want it to be Bitstream Vera Sans Mono.
> > >
> > uhhh
> > 
> > Preferences -> Font -> Terminal Font (change to Bitstream Vera Sans Mono)
> > 
> > must admit that option was really deeply hidden in the menus (not!) ;)
> > 
> > (gnome-terminal font needs to be configured separately)
> 
> That is not what I am asking. I want to change the
> meaning of the "monospace" font as offered by
> fontconfig, so that when choosing the font "monospace"
> as my terminal font in
> 
>    Preferences -> Font -> Terminal Font
> 
> (or any other font selection option that knows about
> fontconfig) it comes with whatever i have set up as
> being the monospace font.
> 
> I want to change it system-wide.

You can try adding the following to ~/.fonts.conf:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- ~/.fonts.conf for per-user font configuration -->
<fontconfig>
	<alias>
		<family>monospace</family>
		<prefer>
			<family>Bitstream Vera Sans Mono</family>
			<family>Luxi Mono</family>
			<family>Andale Mono</family>
			<family>Courier New</family>
			<family>Miriam Mono</family>
			<family>Nimbus Mono L</family>
			<family>Kochi Gothic</family>
			<family>ZYSong18030</family>
			<family>AR PL SungtiL GB</family>
			<family>AR PL Mingti2L Big5</family>
			<family>Baekmuk Gulim</family>
		</prefer>
	</alias>
</fontconfig>

Don't know if that will work.  I haven't tried it myself, but it is what
the documentation (/usr/share/doc/fontconfig-2.2.1/fontconfig-user.html)
said to do.

> Currently it seems that the monospace font is
> "luxi mono". I want it to be "Bitstream Vera Sans
> Mono".
> 
> Romildo




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux