#714148 fontconfig-config: Fontconfig warning for /etc/fonts/conf.d/50-user.conf due to deprecated feature #714148
- Package:
- fontconfig-config
- Source:
- fontconfig
- Description:
- generic font configuration library - configuration
- Submitter:
- Vincent Lefevre
- Date:
- 2013-08-07 07:09:17 UTC
- Severity:
- normal
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.
/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).
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