Making fontconfig aware of the fonts in certain directories

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

 



Hi,
On Sun, Apr 03, 2005 at 11:57:16PM +0100, Paul Smith wrote:
> Thanks, Ambrose. My  /etc/fonts/local.conf file is:
> 
> <?xml version="1.0"?>
> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
> <!-- /etc/fonts/local.conf file for local customizations -->
> <fontconfig>
> <!--
>   Enable sub-pixel rendering
> 	<match target="font">
> 		<test qual="all" name="rgba">
> 			<const>unknown</const>
> 		</test>
> 		<edit name="rgba" mode="assign"><const>rgb</const></edit>
> 	</match>
> -->
> </fontconfig>
> 
> It does not look like yours. Is this normal?

Yes, this is normal. Actually my fonts.conf file is much longer too.
You just insert the <dir>...</dir> lines before the "</fontconfig>"
line (you might need to copy the lines from /etc/fonts/fonts.conf
before adding your new directories); you also need to run fc-cache
after editing the file.

(Don't add the <dir> lines between the <!-- and the -->.)

Regards,
Ambrose

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

  Powered by Linux