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:
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- Load per-user customization file -->
<!-- the following elements will be removed in the future -->
And then, "/.fonts.conf is deprecated" is printed by the "deprecated"
As far as I know, KDE still generates ~/.fonts.conf. although the KDE's font setting
is really buggy
and should be redesigned.
(2013/02/18 3:30), Yamaban wrote:
On Sun, 17 Feb 2013 19:04, Jan Engelhardt
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
O_RDONLY) = 12
open("/home/jengelh/.fonts.conf", O_RDONLY) = 13
"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:
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?
To unsubscribe, e-mail: opensuse-factory+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-factory+owner(a)opensuse.org