Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486172 - Fontconfig warning: [...] reading configurations from ~/.fonts.conf is deprecated.
Summary: Fontconfig warning: [...] reading configurations from ~/.fonts.conf is deprec...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-27 09:34 UTC by Erik Quaeghebeur
Modified: 2013-11-07 11:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2013-09-27 09:34:18 UTC
Upon starting applications in a terminal (e.g., rekonq, qgit4), I get the following warning:

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

I have media-libs/fontconfig-2.10.92 installed.

(I get other fontconfig warnings and errors later, and a 'fontonfig' directory created in ~, but they may result from the first, so I'd like to fix that first.)

I found https://nowardev.wordpress.com/2013/02/02/fontconfig-warning-etcfontsconf-d50-user-conf-line-9-reading-configurations-from-fonts-conf-is-deprecated/ but that doesn't solve the problem. (Also, I don't have '.fonts.conf' in ~.)


Reproducible: Always
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-27 21:21:09 UTC
> /etc/fonts/conf.d/50-user.conf

Please try `eselect fontconfig disable 50-user.conf` and let us know if it works.
Comment 2 Erik Quaeghebeur 2013-09-27 21:50:50 UTC
(In reply to Tom Wijsman (TomWij) from comment #1)
> 
> Please try `eselect fontconfig disable 50-user.conf` and let us know if it
> works.

I did

# eselect fontconfig disable 50-user.conf

and the warning went away; for other warnings/errors I encountered, I had to do

# eselect fontconfig disable 10-scale-bitmap-fonts.conf

to get rid of them.

If those two fontconfig configuration files are not important in some sense, this bug can be closed, I guess.
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-27 22:07:44 UTC
Yes, they plan to remove it in the near future; from that file:

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

The new locations to store settings appear to be:

    $HOME/.config/fontconfig/conf.d
    $HOME/.config/fontconfig/fonts.conf