aboutsummaryrefslogtreecommitdiff
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
parent2bf0fee87a60919cbe34a66795e40cca970ca2ff (diff)
downloadlbsd-aa919b6079ce9c276f98c428b20a959130db547e.tar.gz
Add font configuration
I want full hinting, like late 2000s-era Linux.
-rw-r--r--home/john/.config/fontconfig/fonts.conf29
l---------home/john/.fonts.conf1
2 files changed, 30 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>
diff --git a/home/john/.fonts.conf b/home/john/.fonts.conf
new file mode 120000
index 0000000..775cff4
--- /dev/null
+++ b/home/john/.fonts.conf
@@ -0,0 +1 @@
+.config/fontconfig/fonts.conf \ No newline at end of file