summaryrefslogtreecommitdiff
path: root/conf.d/10-sub-pixel-rgb.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/10-sub-pixel-rgb.conf')
-rw-r--r--conf.d/10-sub-pixel-rgb.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf.d/10-sub-pixel-rgb.conf b/conf.d/10-sub-pixel-rgb.conf
new file mode 100644
index 0000000..c4e8a42
--- /dev/null
+++ b/conf.d/10-sub-pixel-rgb.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>rgb</const></edit>
+ </match>
+</fontconfig>