summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/fontconfig/src/conf.d/10-sub-pixel-vrgb.conf
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/fontconfig/src/conf.d/10-sub-pixel-vrgb.conf')
-rw-r--r--chromium/third_party/fontconfig/src/conf.d/10-sub-pixel-vrgb.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/third_party/fontconfig/src/conf.d/10-sub-pixel-vrgb.conf b/chromium/third_party/fontconfig/src/conf.d/10-sub-pixel-vrgb.conf
new file mode 100644
index 00000000000..b5985e03c32
--- /dev/null
+++ b/chromium/third_party/fontconfig/src/conf.d/10-sub-pixel-vrgb.conf
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<!-- Enable sub-pixel rendering -->
+ <match target="pattern">
+ <!--
+ This configuration is available on the major desktop environments.
+ We shouldn't overwrite it with "assign" unconditionally.
+ Most clients may picks up the first value only. so using "append"
+ may simply works to avoid it.
+ -->
+ <edit name="rgba" mode="append"><const>vrgb</const></edit>
+ </match>
+</fontconfig>