summaryrefslogtreecommitdiff
path: root/.config/fontconfig/fonts.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/fontconfig/fonts.conf')
-rw-r--r--.config/fontconfig/fonts.conf22
1 files changed, 20 insertions, 2 deletions
diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf
index 68f25a2..144c4e5 100644
--- a/.config/fontconfig/fonts.conf
+++ b/.config/fontconfig/fonts.conf
@@ -1,5 +1,5 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<?xml version='1.0'?>
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
<family>serif</family>
@@ -11,6 +11,8 @@
<alias>
<family>system-ui</family>
<prefer>
+ <family>Inter Display</family>
+ <family>Inter</family>
<family>DejaVu Sans</family>
<family>Noto Sans CJK SC</family>
</prefer>
@@ -18,6 +20,7 @@
<alias>
<family>sans-serif</family>
<prefer>
+ <family>Inter Display</family>
<family>Inter</family>
<family>DejaVu Sans</family>
<family>Noto Sans CJK SC</family>
@@ -30,4 +33,19 @@
<family>Noto Sans Mono CJK SC</family>
</prefer>
</alias>
+ <match target="font">
+ <edit mode="assign" name="hinting">
+ <bool>false</bool>
+ </edit>
+ </match>
+ <match target="font">
+ <edit mode="assign" name="hintstyle">
+ <const>hintnone</const>
+ </edit>
+ </match>
+ <match target="font">
+ <edit mode="assign" name="antialias">
+ <bool>true</bool>
+ </edit>
+ </match>
</fontconfig>