Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F fontconfig
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 181
    • Issues 181
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fontconfig
  • fontconfig
  • Issues
  • #174
Closed
Open
Issue created Aug 06, 2019 by Mélanie Chauvel@ariasuni

<or> and <and> doesn’t seem to work

I tried to use <or> and <and> as documented here: https://www.freedesktop.org/software/fontconfig/fontconfig-user.html

But I couldn’t make it work, neither:

<match target="pattern">
 <test name="family" qual="any">
  <or>
   <string>DejaVu Sans</string>
   <string>Liberation Sans</string>
  </or>
 </test>
 <edit binding="same" name="family" mode="assign">
  <string>Noto Sans</string>
 </edit>
</match>

nor:

<match target="pattern">
 <or>
  <test name="family" qual="any">
   <string>DejaVu Sans</string>
  </test>
  <test name="family" qual="any">
   <string>Liberation Sans</string>
  </test>
 </or>
 <edit binding="same" name="family" mode="assign">
  <string>Noto Sans</string>
 </edit>
</match>

If you don’t intend to make this feature work, at least removing it from the documentation would be a good idea.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking