Making fontconfig aware of the fonts in certain directories

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

 



On Apr 3, 2005 11:46 PM, Ambrose Li <acli@xxxxxxxxxxx> wrote:
> > Is it possible to make fontconfig aware of the fonts in the following
> > directories?
> >
> > /usr/share/texmf/fonts/type1/public/cm-super/
> > /usr/share/texmf/fonts/afm/public/cm-super/
> 
> just edit /etc/fonts/local.conf and add more directories. If you
> do not already have a local.conf file, the new file should look
> like this:
> 
>         <?xml version="1.0"?>
>         <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
>         <!-- ~/.fonts.conf for per-user font configuration -->
>         <fontconfig>
>                 <dir>some-directory</dir>
>                 <dir>another-directory</dir>
>                 <dir>more directories</dir>
>                 <dir>~/.fonts</dir>
>         </fontconfig>
> 
> When I first did this, you need to also copy the directories
> that are in /etc/fonts/fonts.conf (or else those directories
> won't be considered). I don't know if this is still the case.


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?

Paul

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

  Powered by Linux