I want to use the LCD filter setting from https://wiki.archlinux.org/index.php/font_configuration#LCD_filter. The file already exists:
$ cat /etc/fonts/conf.d/11-lcdfilter-default.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<description>Use lcddefault as default for LCD filter</description>
<!-- Use lcddefault as default for LCD filter -->
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit mode="append" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>
However the settings seem to be ignored:
$ grep lcd /etc/fonts/fonts.conf | wc
0 0 0
$ fc-match --verbose | rg lcd
lcdfilter: 0(i)(w)
This is after running fc-cache -f
.
What is the command for picking up changes in /etc/fonts/conf.d
? I don't want to restart my system since that would take too long (I will need to do this many times to troubleshoot).