<or> and <and> doesn’t seem to work
I tried to use <or>
and <and>
as documented here:
https://www.freedesktop.org/software/fontconfig/fontconfig-user.html
But I couldn’t make it work, neither:
<match target="pattern">
<test name="family" qual="any">
<or>
<string>DejaVu Sans</string>
<string>Liberation Sans</string>
</or>
</test>
<edit binding="same" name="family" mode="assign">
<string>Noto Sans</string>
</edit>
</match>
nor:
<match target="pattern">
<or>
<test name="family" qual="any">
<string>DejaVu Sans</string>
</test>
<test name="family" qual="any">
<string>Liberation Sans</string>
</test>
</or>
<edit binding="same" name="family" mode="assign">
<string>Noto Sans</string>
</edit>
</match>
If you don’t intend to make this feature work, at least removing it from the documentation would be a good idea.