[Fontconfig] .fonts.conf

Raimund Steger rs at mytum.de
Sun Jul 7 14:57:15 PDT 2013


Santiago José López Borrazás wrote:
> El 07/07/13 18:50, Alan Coopersmith escribió:
>> On 07/ 7/13 09:42 AM, Santiago José López Borrazás wrote:
>>> Hi:
>>>
>>> Earlier in the Debian version 2.9.0-7, had ~/.fonts.conf in my HOME.
>>>
>>> But it currently using the new version of fontconfig, which is the 2.10.2-2.
>>>
>>> Where I hang up .fonts.conf now?
>>>
>>> As one finality that I have in the /etc/fonts/conf.d:
>>>
>>> 50-user.conf
>>
>> /etc/fonts/conf.d/50-user.conf is what specifies which files from your home
>> directory to load, and should answer your questions there.
>
> Yes, but not charging. The file is:
>
> <?xml version="1.0"?>
> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
> <fontconfig>
> 	<!-- Load per-user customization file -->
> 	<include ignore_missing="yes" prefix="xdg">fontconfig/conf.d</include>
> 	<include ignore_missing="yes" prefix="xdg">fontconfig/fonts.conf</include>
> 	<!-- the following elements will be removed in the future -->
> 	<include ignore_missing="yes" deprecated="yes">~/.fonts.conf.d</include>
> 	<include ignore_missing="yes" deprecated="yes">~/.fonts.conf</include>
> </fontconfig>
>
> The xdg? What?
>

"xdg" for <include> elements means XDG_CONFIG_HOME, which is normally 
~/.config (see 
http://freedesktop.org/software/fontconfig/fontconfig-user.html, 
fonts-conf(5), and 
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html). 
So the location would normally be ~/.config/fontconfig/fonts.conf.

NB. "xdg" for <dir> elements means XDG_DATA_HOME and it's already 
configured in /etc/fonts/fonts.conf, so I think the <dir> element in the 
example you posted is probably not necessary.

Raimund


-- 
Worringer Str 31 Duesseldorf 40211 DE  home: <rs at mytum.de>
+49-179-2981632 icq 16845346           work: <rs at interface-ag.de>


More information about the Fontconfig mailing list