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>
This commit is contained in:
Sefa Eyeoglu 2023-03-21 15:56:01 +01:00
parent 04546f1876
commit c2666a6d9a
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951
3 changed files with 19 additions and 0 deletions

View File

@ -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>

View File

@ -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 \

View File

@ -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',