You are not logged in.
Hello,
Arn't rules in $XDG_CONFIG_HOME/fontconfig/conf.d supposed to override rules in $XDG_CONFIG_HOME/fontconfig/fonts.conf?
In my configuration they do not.
Thanks
Fred
Offline
Where do you get that idea? See
man 5 fonts-conf
Offline
Thanks,
Yes I see I got it all wrong.
I read https://www.freedesktop.org/software/sy … .conf.html
"The main configuration file is read before any of the configuration directories, and has the lowest precedence; entries in a file in any configuration directory override entries in the single configuration file."
I thought it was a general rule that files in conf.d directories had higher priority than main .conf files.
It seems that there is ho other way than to edit fonts.conf
Fred
Offline
There's a file "/etc/fonts/conf.d/50-user.conf" with this content here:
...
<include ignore_missing="yes" prefix="xdg">fontconfig/conf.d</include>
<include ignore_missing="yes" prefix="xdg">fontconfig/fonts.conf</include>
...
That's where the precedence comes from.
Offline
It seems that there is ho other way than to edit fonts.conf
This seems an xy-problem, why do you have a fonts.conf itfp (instead of configuring everything from conf.d/stuff.conf)?
Offline
Hello Seth,
It is the graphical interface in LXQT that writes its fonts config settings to ~/.config/fontconfig/fonts.conf. The file says "don't edit".
I set rgba to none in the graphical interface (Configuration center/Appearance/fonts. rgba got changed to none in fonts.conf, but lcdfiler is defaulted to "lcddefault". But you don't wany a lcdfilter when rgba is set to none. Therefore I tried to find a way to set lcdfilter to "lcdnone" without editing fonts.conf.
It loooks lika a bug in LXQT. If you set rgba to none, fonts.conf should also set lcdfilter to "lcdnone"
So that is my problem: How do I override "lcdfilter:lcddefault" in fonts.conf without editing fonts.conf?
Fred
Offline
Hello,
I solved it by disabling ~/.config/fontconfig/fonts.conf. I created a new 50-xxx.conf in /etc/fonts/conf.d., witch do not include ~/.config/fontconfig/fonts.conf.
Fred
Offline