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