Hi all,
to get it working for now AND the future, the easiest way would be adding a line:
fontconfig-2.10.x provided by 12.3, M17N, and Factory include the following 56-user.conf from the upstream: <?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</includ e> <!-- 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> And then, "/.fonts.conf is deprecated" is printed by the "deprecated" attribute above. As far as I know, KDE still generates ~/.fonts.conf. although the KDE's font setting is really buggy and should be redesigned. Fuminobu TAKEYAMA (2013/02/18 3:30), Yamaban wrote:
On Sun, 17 Feb 2013 19:04, Jan Engelhardt <jengelh@...> wrote:
On Sunday 2013-02-17 18:04, Takashi Iwai wrote:
Move it to $XDG_CONFIG_HOME/fontconfig/fonts.conf (where $XDG_CONFIG_HOME is usually ~/.config).
Ah hell no. That does not work.
If I `mv ~/.fonts.conf ~/.config/fontconfig/fonts.conf`, my 15px hiragana glyphs suddenly go from autohint=false to autohint=true! Which means ~/.fonts.conf is respected and ~/.config/fontconfig/fonts.conf is not.
Hmm, I don't see what can be wrong there at a quick glance. Could you check whether it's really read via strace or such?
19:02 nakamura:~ > strace -fe open gjiten 2>&1 | grep fonts.conf open("/etc/fonts/fonts.conf", O_RDONLY) = 10
[snip]
open("/etc/fonts/conf.d/56-user.conf", O_RDONLY) = 12 open("/home/jengelh/.fonts.conf", O_RDONLY) = 13 [snip]
"fontconfig" itself wants $XDG_CONFIG_HOME/fontconfig/fonts.conf but /etc/fonts/conf.d/56-user.conf says "~/.fonts.conf"
to get it working for now AND the future, the easiest way would be adding a line:
<include ignore_missing="yes">~/.config/fontconfig/fonts.conf</include>
to /etc/fonts/conf.d/56-user.conf .
Then for a new user create ~/.config/fontconfig/fonts.conf instead of ~/.fonts.conf via skeleton profile.
maybe even add a comment that "~/.fonts.conf" should be moved to "~/.config/fontconfig/fonts.conf" in the /etc/fonts/conf.d/56-user.conf file, with the why (cleanup of $HOME, upstream compilance, etc.)
That can be done for 12.3, as polishing item, prior to GoldMaster, ne?
-- Yamaban.
-- Fuminobu TAKEYAMA -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org