aboutsummaryrefslogtreecommitdiff
path: root/home/john/.config/fontconfig
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-07 12:35:38 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-07 12:36:38 +0200
commitaa919b6079ce9c276f98c428b20a959130db547e (patch)
tree57713427942c6a063c7f4ccd83950ab118443a65 /home/john/.config/fontconfig
parent2bf0fee87a60919cbe34a66795e40cca970ca2ff (diff)
downloadlbsd-aa919b6079ce9c276f98c428b20a959130db547e.tar.gz
Add font configuration
I want full hinting, like late 2000s-era Linux.
Diffstat (limited to 'home/john/.config/fontconfig')
-rw-r--r--home/john/.config/fontconfig/fonts.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/home/john/.config/fontconfig/fonts.conf b/home/john/.config/fontconfig/fonts.conf
new file mode 100644
index 0000000..a81cc79
--- /dev/null
+++ b/home/john/.config/fontconfig/fonts.conf
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <match target="font">
+ <edit mode="assign" name="rgba">
+ <const>rgb</const>
+ </edit>
+ </match>
+ <match target="font">
+ <edit mode="assign" name="hinting">
+ <bool>true</bool>
+ </edit>
+ </match>
+ <match target="font">
+ <edit mode="assign" name="hintstyle">
+ <const>hintfull</const>
+ </edit>
+ </match>
+ <match target="font">
+ <edit mode="assign" name="antialias">
+ <bool>true</bool>
+ </edit>
+ </match>
+ <match target="font">
+ <edit mode="assign" name="lcdfilter">
+ <const>lcdlight</const>
+ </edit>
+ </match>
+</fontconfig>