summaryrefslogtreecommitdiff
path: root/conf.d/10-no-sub-pixel.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/10-no-sub-pixel.conf')
-rw-r--r--conf.d/10-no-sub-pixel.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf.d/10-no-sub-pixel.conf b/conf.d/10-no-sub-pixel.conf
new file mode 100644
index 0000000..5d64a0b
--- /dev/null
+++ b/conf.d/10-no-sub-pixel.conf
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- conf.d/sub-pixel.conf -->
+<fontconfig>
+<!-- Enable sub-pixel rendering -->
+ <match target="font">
+ <edit name="rgba" mode="assign"><const>none</const></edit>
+ </match>
+</fontconfig>