summaryrefslogtreecommitdiff
path: root/conf.d/10-sub-pixel-none.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/10-sub-pixel-none.conf')
-rw-r--r--conf.d/10-sub-pixel-none.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/conf.d/10-sub-pixel-none.conf b/conf.d/10-sub-pixel-none.conf
new file mode 100644
index 0000000..1fb6c98
--- /dev/null
+++ b/conf.d/10-sub-pixel-none.conf
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
+<fontconfig>
+ <description>Disable sub-pixel rendering</description>
+<!-- Disable sub-pixel rendering -->
+ <match target="pattern">
+ <!--
+ This sort of configuration is available on the major desktop environments
+ and we don't have to break it with "assign" unconditionally. however, we
+ want to set something for others. So we use "append" here to get this working
+ in both cases so that most clients would takes a look at the first place only.
+ -->
+ <edit name="rgba" mode="append"><const>none</const></edit>
+ </match>
+</fontconfig>