diff options
author | Akira TAGOH <akira@tagoh.org> | 2012-03-26 10:58:18 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2012-03-26 10:58:18 +0900 |
commit | 1aaf8b773d73f89f5b0d8591cca0a2072524fdb3 (patch) | |
tree | 89a41c8b4fa9ceeb2ae9fd7558dbc7504dcce5e5 /conf.d/11-lcdfilter-default.conf | |
parent | 900675d0b0b40f22ecc0d75e4d5ce16295a3a5e3 (diff) | |
download | fontconfig-1aaf8b773d73f89f5b0d8591cca0a2072524fdb3.tar.gz |
Bug 17722 - Don't overwrite user's configurations in default config
Use "append" to avoid overwriting the user configuration.
This presumes most clients may takes care of the first value only.
Diffstat (limited to 'conf.d/11-lcdfilter-default.conf')
-rw-r--r-- | conf.d/11-lcdfilter-default.conf | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/conf.d/11-lcdfilter-default.conf b/conf.d/11-lcdfilter-default.conf index 040a4ac..e251edd 100644 --- a/conf.d/11-lcdfilter-default.conf +++ b/conf.d/11-lcdfilter-default.conf @@ -3,7 +3,13 @@ <fontconfig> <!-- Use lcddefault as default for LCD filter --> <match target="font"> - <edit mode="assign" name="lcdfilter"> + <!-- + 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 mode="append" name="lcdfilter"> <const>lcddefault</const> </edit> </match> |