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