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