[Fontconfig] .fonts.conf

Santiago José López Borrazás sjlopezb at aol.com
Sun Jul 7 15:31:47 PDT 2013


El 07/07/13 23:57, Raimund Steger escribió:
> "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.

I create file in /etc/profile.d/xdg with line:

export XDG_CONFIG_HOME=$HOME/.config

Not working.

In my system is function:

XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share

This line no problem, is detected for variables in the Linux.

> 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.

In the file /etc/fonts/fonts.conf exists lines in:

        <dir prefix="xdg">fonts</dir>
        <cachedir prefix="xdg">fontconfig</cachedir>

This cachedir is parameter XDG_CACHEDIR=$HOME/.cache

Aph... I configure this information, to see what happens.

Is rare, because it this I it worked in the previous version.

Thanks.

-- 
Saludos de Santiago José López Borrazás.
Greetings of Santiago José López Borrazás.


More information about the Fontconfig mailing list