aboutsummaryrefslogtreecommitdiffstats
path: root/fontconfig
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2018-03-17 13:11:02 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2018-03-17 13:11:02 +0100
commit53a7b80636cf13389f5a47eea30d15da640742b4 (patch)
treedbe8cced6ea9d1a14f874a78e5738d512ab1fa4b /fontconfig
parentc6f91dbcf21a6e9299eb239fd50a825ab35ff9ae (diff)
downloaddotfiles-53a7b80636cf13389f5a47eea30d15da640742b4.tar.xz
fontconfig: Make the Adobe Source font family the default fonts
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'fontconfig')
-rw-r--r--fontconfig/fonts.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/fontconfig/fonts.conf b/fontconfig/fonts.conf
index 6e2d874..093ad6d 100644
--- a/fontconfig/fonts.conf
+++ b/fontconfig/fonts.conf
@@ -15,6 +15,26 @@
<edit name="embeddedbitmap" mode="assign"> <bool>false</bool></edit>
</match>
+ <!-- Prefer Adobe's Source fonts -->
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>Source Serif Pro</family>
+ <family>Source Han Serif JP</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Source Sans Pro</family>
+ <family>Source Han Sans JP</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>monospace</family>
+ <prefer><family>Source Code Pro</family></prefer>
+ </alias>
+
<selectfont>
<rejectfont>
<pattern><patelt name="family"><string>Nimbus Sans</string></patelt></pattern>