summaryrefslogtreecommitdiff
path: root/conf.d/10-no-sub-pixel.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/10-no-sub-pixel.conf')
-rw-r--r--conf.d/10-no-sub-pixel.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf.d/10-no-sub-pixel.conf b/conf.d/10-no-sub-pixel.conf
index 635847c..4fd1776 100644
--- a/conf.d/10-no-sub-pixel.conf
+++ b/conf.d/10-no-sub-pixel.conf
@@ -1,6 +1,11 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
+ <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
+ </its:rules>
+
+ <description>Disable sub-pixel rendering</description>
<!-- Disable sub-pixel rendering -->
<match target="pattern">
<!--