<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Warn if config is wrong"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82582#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Warn if config is wrong"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82582">bug 82582</a>
from <span class="vcard"><a class="email" href="mailto:jungshik.shin@gmail.com" title="Jungshik Shin <jungshik.shin@gmail.com>"> <span class="fn">Jungshik Shin</span></a>
</span></b>
<pre><match target="font">
<test name="family" compare="contains">
<or>
<string>MYingHeiB5HK</string>
<string>MYingHeiGB18030</string>
<string>MSung GB18030</string>
<string>MSung B5HK</string>
</or>
</test>
<edit ....... </edit>
</match>
The above doesn't give any warning. Nor did it affect other fonts (that are not
listed in <test>) but <edit> is not applied to the fonts listed in <test>.
Replacing the nested <test> as shown below works but I got a warning that 'test
does not have a name'.
<test>
<or>
<test name=...>
<test name=...>
</or>
The old form (that worked in 2.7.x) still works even though I got a warning
about 'multiple values in test'.
I also tried the old expression with 'qual="any"' added. It works as intended
(that is, for any of the 4 fonts listed, <edit> is applied), but gave me the
same warning about 'multiple values in test'.
<test name="family" compare="contains" qual="any">
<string>MYingHeiB5HK</string>
<string>MYingHeiGB18030</string>
<string>MSung GB18030</string>
<string>MSung B5HK</string>
</test></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>