Red Hat Bugzilla – Bug 847627
Malformed fontconfig config file
Last modified: 2012-09-17 17:58:53 EDT
Description of problem:
Still no changes in the behavior in the latest version of fontconfig,
but it now warns when <test> contains multiple values or <alias> contains
multiple <family>s. this is because the behavior isn't intuitive and
doesn't work as expected necessarily. So you better consider to fix it
to make clearer what you want to do with it.
For solution, if you are expecting OR operator with that rule, add more
<match>s or <alias>es. if you are expecting AND operator with that rule,
just add more <test>s in that <match>.
No real error so far due to Bug#847623, but the rules in the pkg repo will causes this warnings.
Fixed in jomolhari-fonts-0.003-13.fc19
Parag, looking at your fix on .conf, as I wrote in comment#0, having multiple <test>s in <match> means AND expression. so in this case, what you are doing is:
If pat[lang] == 'bo-cn' and
pat[lang] == 'bo-in' and
pat[lang] == 'bo' and
pat[lang] == 'dz-bt' and
pat[lang] == 'dz' and
pat[family] == 'serif' then
I'm wondering if that expression becomes true.
Can you please point me the documentation on how to deal with multiple lang tests?
It will be OR case. Thought As I wrote multiple test cases it means its already OR case.
As I also mentioned in comment#0, you need multiple <match>s for OR but multiple <test>s.
Fixed in jomolhari-fonts-0.003-14.fc19
jomolhari-fonts-0.003-14.fc18 has been submitted as an update for Fedora 18.
jomolhari-fonts-0.003-14.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.