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, 7 insertions, 1 deletions
diff --git a/fontconfig/conf.d/10-sub-pixel-vrgb.conf b/fontconfig/conf.d/10-sub-pixel-vrgb.conf
index 84481bde2..1b7b5f6d5 100644
--- a/fontconfig/conf.d/10-sub-pixel-vrgb.conf
+++ b/fontconfig/conf.d/10-sub-pixel-vrgb.conf
@@ -3,6 +3,12 @@
<fontconfig>
<!-- Enable sub-pixel rendering -->
<match target="font">
- <edit name="rgba" mode="assign"><const>vrgb</const></edit>
+ <!--
+ 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>