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