fonts.conf

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

 



Around 17 o'clock on Apr 4, Tim Janik wrote:


> i tried adding:
>        <alias>
>                <family>Nimbus Roman No9 L</family>
>                <family>Georgia</family>
>                <family>Luxi Serif</family>
>                <family>FreeSerif</family>
>                <default><family>serif</family></default>
>        </alias>

This isn't how you change what font will be used when you ask for 'serif'.
This is how you choose the generic ('serif') name for fonts that you 
may not have installed so that fontconfig will pick another suitable font
If you look in fonts.conf, you'll find a section labeled

<!--
  Provide required aliases for standard names
-->

and that will show the right syntax for changing the preferred font for
the generic 'sans-serif', 'serif' and 'monospace' families.

Edit local.conf and add a section like:

        <alias>
                <family>serif</family>
                <prefer>
			<family>FreeSerif</family>
		</prefer>
	</alias>
        <alias>
                <family>sans-serif</family>
                <prefer>
			<family>FreeSans</family>
		</prefer>
	</alias>
        <alias>
                <family>monospace</family>
                <prefer>
			<family>FreeMono</family>
		</prefer>
	</alias>

That should be sufficient to have these fonts preferred by applications.

-keith





[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux