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