conf.d/11-lcdfilter-none.conf | 17 +++++++++++++++++ conf.d/Makefile.am | 1 + conf.d/meson.build | 1 + 3 files changed, 19 insertions(+) New commits: commit c2666a6d9a6ed18b1bfcef8176e25f62993e24db Author: Sefa Eyeoglu <contact@xxxxxxxxxxxxx> Date: Tue Mar 21 15:56:01 2023 +0100 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@xxxxxxxxxxxxx> 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',