aboutsummaryrefslogtreecommitdiffstats
path: root/.config/fontconfig
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2022-03-09 15:17:06 +0100
committerDavid Runge <dave@sleepmap.de>2022-03-09 15:23:42 +0100
commit09f35654dbdf7156c779cb78fcabc2954c21831f (patch)
tree7fea315f1645185c9eed8c8fbb902ff62d57ccf0 /.config/fontconfig
parent01e2cf4e37e922ae079f1671efbea264342abb7a (diff)
downloaddotfiles-09f35654dbdf7156c779cb78fcabc2954c21831f.tar.gz
dotfiles-09f35654dbdf7156c779cb78fcabc2954c21831f.tar.bz2
dotfiles-09f35654dbdf7156c779cb78fcabc2954c21831f.tar.xz
dotfiles-09f35654dbdf7156c779cb78fcabc2954c21831f.zip
fontconfig: Add hinting
.config/fontconfig/fonts.conf: Add hinting, lcdfilter. Set hintstyle to hintslight. Disable embeddedbitmap.
Diffstat (limited to '.config/fontconfig')
-rw-r--r--.config/fontconfig/fonts.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf
index baef22e..2afa785 100644
--- a/.config/fontconfig/fonts.conf
+++ b/.config/fontconfig/fonts.conf
@@ -2,4 +2,21 @@
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<cachedir>~/.local/share/fontconfig</cachedir>
+ <match target="font">
+ <edit name="embeddedbitmap" mode="assign">
+ <bool>false</bool>
+ </edit>
+ <edit name="lcdfilter" mode="assign">
+ <const>lcddefault</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="rgba" mode="assign">
+ <const>rgb</const>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ </match>
</fontconfig>