`fc-match foo-bar` is equivalent to `fc-match foo`
When calling fc-match foo-bar
, I get the same as for fc-match foo
.
This is bad, when I try fc-match system-ui
, irrelevant, when I ask for fc-match sans-serif
, and an unexpected feature, when I use fc-match 'Noto Serif-foobar'
.
The output of FC_DEBUG=1 fc-match foo-bar
starts with
FC_DEBUG=1
Match Pattern has 28 elts (size 32)
family: "foo"(s) "Noto Sans"(w) "DejaVu Sans"(w) "Verdana"(w) "Arial"(w) [...]
The behavior was the same with fontconfig as supplied by Debian 12 (stable), Debian testing, Rocky Linux 8.9 and the current fontconfig-2.15.0 release from the release page on Debian testing.