summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorPierre Ducroquet <pinaraf@pinaraf.info>2021-08-25 10:43:20 +0200
committerPierre Ducroquet <pinaraf@pinaraf.info>2022-01-13 11:34:25 +0100
commit9a6ad6f1c5f4c6024370b0b54aaa4b74ecced62c (patch)
tree980ea5696e01691b57d4992c3a4048683b5fd6f7 /conf.d
parent686739af91b2f49c34e8f12d733d01e59f05cec3 (diff)
downloadfontconfig-9a6ad6f1c5f4c6024370b0b54aaa4b74ecced62c.tar.gz
Always add the family name from spacing=100
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/48-spacing.conf15
1 files changed, 3 insertions, 12 deletions
diff --git a/conf.d/48-spacing.conf b/conf.d/48-spacing.conf
index 9551b77..6df5c11 100644
--- a/conf.d/48-spacing.conf
+++ b/conf.d/48-spacing.conf
@@ -1,24 +1,15 @@
<?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>