Re: Change default monospace font

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

 



On Wed, Nov 12, 2003 at 05:06:07PM -0800, Chris Grau wrote:
> On Wed, Nov 12, 2003 at 08:03:23PM -0200, Jose Romildo Malaquias wrote:
[...]
> > 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>

I have achieved what I want by putting the following
in the /etc/fonts/local.conf

<!--
  Provide required aliases for standard names
-->
        <alias>
                <family>serif</family>
                <prefer>
                        <family>Bitstream Vera Serif</family>
                </prefer>
        </alias>
        <alias>
                <family>sans-serif</family>
                <prefer>
                        <family>Bitstream Vera Sans</family>
                </prefer>
        </alias>
        <alias>
                <family>monospace</family>
                <prefer>
                        <family>Bitstream Vera Sans Mono</family>
                </prefer>
        </alias>


Romildo




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

  Powered by Linux