diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-03-21 15:56:01 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2023-03-21 16:20:37 +0100 |
commit | c2666a6d9a6ed18b1bfcef8176e25f62993e24db (patch) | |
tree | 1278a2fce1c1fd2ad9e07c7bb21870d48a22ab9a | |
parent | 04546f18768e1ce57c24743035118b3eabbd4181 (diff) | |
download | fontconfig-c2666a6d9a6ed18b1bfcef8176e25f62993e24db.tar.gz |
Add optional 11-lcdfilter-none configuration
Of the possible lcdfilter options, `lcdnone` did not have a
corresponding optional config file.
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
-rw-r--r-- | conf.d/11-lcdfilter-none.conf | 17 | ||||
-rw-r--r-- | conf.d/Makefile.am | 1 | ||||
-rw-r--r-- | conf.d/meson.build | 1 |
3 files changed, 19 insertions, 0 deletions
diff --git a/conf.d/11-lcdfilter-none.conf b/conf.d/11-lcdfilter-none.conf new file mode 100644 index 0000000..823249a --- /dev/null +++ b/conf.d/11-lcdfilter-none.conf @@ -0,0 +1,17 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd"> +<fontconfig> + <description>Use lcdnone as default for LCD filter</description> +<!-- Use lcdnone as default for LCD filter --> + <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 mode="append" name="lcdfilter"> + <const>lcdnone</const> + </edit> + </match> +</fontconfig> diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am index fc26ef3..a844f29 100644 --- a/conf.d/Makefile.am +++ b/conf.d/Makefile.am @@ -79,6 +79,7 @@ template_DATA = \ 11-lcdfilter-default.conf \ 11-lcdfilter-legacy.conf \ 11-lcdfilter-light.conf \ + 11-lcdfilter-none.conf \ 20-unhint-small-vera.conf \ 25-unhint-nonlatin.conf \ 30-metric-aliases.conf \ diff --git a/conf.d/meson.build b/conf.d/meson.build index cc4e16c..8e89611 100644 --- a/conf.d/meson.build +++ b/conf.d/meson.build @@ -18,6 +18,7 @@ conf_files = [ '11-lcdfilter-default.conf', '11-lcdfilter-legacy.conf', '11-lcdfilter-light.conf', + '11-lcdfilter-none.conf', '20-unhint-small-vera.conf', '25-unhint-nonlatin.conf', '30-metric-aliases.conf', |