You are not logged in.
Arch wiki says:
Note: Configuration files and directories: ~/.fonts.conf/, ~/.fonts.conf.d/ and ~/.fontconfig/*.cache-* are deprecated since fontconfig 2.10.1 (upstream commit) and will not be read by default in the future versions of the package.
I've that in my home:
# file ~/.fonts.conf.d
/home/koko/.fonts.conf.d: symbolic link to /home/koko/.config/fontconfig/conf.d
And there, i've a particular rule that enables autohint for liberation mono:
# fc-match --verbose "Liberation Mono" | grep -i autohint
autohint: True(w)
Right, but here is what happens if i remove the sylink:
# unlink ~/.fonts.conf.d
[15:45:09] cd ~
# fc-match --verbose "Liberation Mono" | grep -i autohint
autohint: False(w)
My fontconfig rule file is in place where it should be, the non-deprecated location:
# file ~/.config/fontconfig/conf.d/99-liberation-mono-qtfix.conf
/home/koko/.config/fontconfig/conf.d/99-liberation-mono-qtfix.conf: XML 1.0 document, UTF-8 Unicode text
And it IS PARSED, because fontconfig gives me an error if i corrupt it:
# echo "garbage" >> ~/.config/fontconfig/conf.d/99-liberation-mono-qtfix.conf
# fc-match --verbose "Liberation Mono" | grep -i autohint
Fontconfig error: "/home/koko/.config/fontconfig/conf.d/99-liberation-mono-qtfix.conf", line 36: junk after document element
autohint: False(w)
What is the explaination? My actual workaround is to use deprecated locations!
Last edited by kokoko3k (2016-10-12 14:23:03)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Stashed by some other rule?
Seems ~/.fonts.conf is accessed last, so it would likely trump everything, but ~/.config/fontconfig/fonts.conf is read after ~/.config/fontconfig/conf.d is accessed. ("strace fc-match foo 2>&1 | grep conf | grep $USER")
Offline
Nice catch, and nice to use strace to get the parsing order.
Why on earth didn't i try it? I even use strace for making coffee in the morning.
Thanks seth.
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline