Commit 9a6ad6f1 authored by Pierre Ducroquet's avatar Pierre Ducroquet
Browse files

Always add the family name from spacing=100

parent 686739af
Pipeline #485450 passed with stage
in 7 minutes and 42 seconds
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<description>Add mono to the family when no generic name and spacing is 100</description>
<description>Add mono to the family when spacing is 100</description>
<!--
If the font has no generic name and spacing 100, add mono
If the request specifies spacing 100, add monospace to family
-->
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>sans-serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<test qual="any" name="spacing" compare="eq">
<int>100</int>
</test>
<edit name="family" mode="append_last">
<edit name="family" mode="prepend">
<string>monospace</string>
</edit>
</match>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment