[Fontconfig-bugs] [Bug 33644] Fontconfig doesn't match correctly in <test>

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 2 14:00:59 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=33644

--- Comment #14 from Behdad Esfahbod <freedesktop at behdad.org> 2012-04-02 14:00:59 PDT ---
(In reply to comment #4)
> Behdad, what is the expected syntax to match "Courier" or "Courier New" on the
> family name FWIW?
> 
> I've tried to figure it out with:
> 
> <match>
>   <test name="family">
>     <or>
>       <string>Courier New</string>
>       <string>Courier</string>
>     </or>
>   </test>
>   ...
> </match>
> 
> and
> 
> <match>
>   <test name="family">
>     <string>Courier New</string>
>     <or>
>       <test name="family">
>         <string>Courier</string>
>       </test>
>     </or>
>   </test>
>   ...
> </match>

How about:

<match>
  <or>
    <test ...>...</test>
    <test ...>...</test>
  </or>
</match>

?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Fontconfig-bugs mailing list