aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2018-03-17 13:12:56 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2018-03-17 13:12:56 +0100
commitb28201b5224f9cd28004b419fac84df831f4cf52 (patch)
tree545995a5efcf856ff065535e1839f273942bc47f
parent53a7b80636cf13389f5a47eea30d15da640742b4 (diff)
downloaddotfiles-b28201b5224f9cd28004b419fac84df831f4cf52.tar.xz
fontconfig: Use Source Sans Pro for Helvetica and Arial
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--fontconfig/fonts.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/fontconfig/fonts.conf b/fontconfig/fonts.conf
index 093ad6d..bf8ac1e 100644
--- a/fontconfig/fonts.conf
+++ b/fontconfig/fonts.conf
@@ -35,6 +35,20 @@
<prefer><family>Source Code Pro</family></prefer>
</alias>
+ <match>
+ <test name="family"><string>Helvetica</string></test>
+ <edit binding="same" mode="assign" name="family">
+ <string>Source Sans Pro</string>
+ </edit>
+ </match>
+
+ <match>
+ <test name="family"><string>Arial</string></test>
+ <edit binding="same" mode="assign" name="family">
+ <string>Source Sans Pro</string>
+ </edit>
+ </match>
+
<selectfont>
<rejectfont>
<pattern><patelt name="family"><string>Nimbus Sans</string></patelt></pattern>