#714148 fontconfig-config: Fontconfig warning for /etc/fonts/conf.d/50-user.conf due to deprecated feature

Package:
fontconfig-config
Source:
fontconfig
Description:
generic font configuration library - configuration
Submitter:
Vincent Lefevre
Date:
2013-08-07 07:09:17 UTC
Severity:
normal
#714148#5
Date:
2013-06-26 10:43:14 UTC
From:
To:
Each time I start Emacs, I get the following warning:

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.

It seems that /etc/fonts/conf.d/50-user.conf hasn't been updated
with the fontconfig upgrade.

#714148#10
Date:
2013-06-26 11:00:34 UTC
From:
To:
/etc/fonts/conf.d/50-user.conf or with the existence of ~/.fonts.conf?
In the former case, a user-level warning message is wrong. In the
second case, the error message should be clarified and should point
to documentation telling the user what to do.

Note that the SYNOPSIS section of the fonts-conf(5) man page doesn't
declare ~/.fonts.conf as being deprecated (only at the end).

#714148#15
Date:
2013-06-26 11:12:22 UTC
From:
To:
The latter, it means that you should move ~/.fonts.conf to
$XDG_CONFIG_HOME/fontconfig/fonts.conf (or
$HOME/.config/fontconfig/fonts.conf if XDG_CONFIG_HOME is not set).

I had to look at the XDG Base Directory Specification[1] to find out
what to do.

Cheers,
       Sven


1. http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html