Font gets pruned from fc-match list
"Please note that I only have the 51-local.conf config enabled to ensure no overrides happens for below".
I have the following rule for setting default serif fonts:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Font 1</family>
<family>Font 2</family>
<family>Font 3</family>
<family>Font 4</family>
<family>Font 5</family>
<family>Font 6</family>
</prefer>
</alias>
</fontconfig>
However, if run fc-match serif -s
I don't see Font 5 from list above, but If I move it on top then I can see it with that command, but in that case it will be the default and not a fallback as I intend.
Please note: if I run fc-match serif -a
instead, then I can see it even if it's placed down below!
Can you please explain this behavior and why the font is being pruned and ommited by fc-match -s
?
Thanks