Add config files to enable/disable antialias

This commit is contained in:
Akira TAGOH 2022-10-14 21:23:14 +09:00
parent b9e2f17c43
commit 0825a178e8
4 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<description>Disable antialiasing</description>
<match target="pattern">
<edit name="antialias" mode="append"><bool>false</bool></edit>
</match>
</fontconfig>

View File

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<description>Enable antialiasing</description>
<match target="pattern">
<edit name="antialias" mode="append"><bool>true</bool></edit>
</match>
</fontconfig>

View File

@ -32,6 +32,7 @@ DOC_FILES = $(DOC_SOURCES:.in=)
CONF_LINKS = \
10-hinting-$(PREFERRED_HINTING).conf \
10-scale-bitmap-fonts.conf \
10-yes-antialias.conf \
11-lcdfilter-default.conf \
20-unhint-small-vera.conf \
30-metric-aliases.conf \
@ -65,6 +66,7 @@ template_DATA = \
10-hinting-medium.conf \
10-hinting-none.conf \
10-hinting-slight.conf \
10-no-antialias.conf \
10-no-sub-pixel.conf \
10-scale-bitmap-fonts.conf \
10-sub-pixel-bgr.conf \
@ -72,6 +74,7 @@ template_DATA = \
10-sub-pixel-vbgr.conf \
10-sub-pixel-vrgb.conf \
10-unhinted.conf \
10-yes-antialias.conf \
11-lcdfilter-default.conf \
11-lcdfilter-legacy.conf \
11-lcdfilter-light.conf \

View File

@ -6,6 +6,7 @@ conf_files = [
'10-hinting-medium.conf',
'10-hinting-none.conf',
'10-hinting-slight.conf',
'10-no-antialias.conf',
'10-no-sub-pixel.conf',
'10-scale-bitmap-fonts.conf',
'10-sub-pixel-bgr.conf',
@ -13,6 +14,7 @@ conf_files = [
'10-sub-pixel-vbgr.conf',
'10-sub-pixel-vrgb.conf',
'10-unhinted.conf',
'10-yes-antialias.conf',
'11-lcdfilter-default.conf',
'11-lcdfilter-legacy.conf',
'11-lcdfilter-light.conf',
@ -43,6 +45,7 @@ preferred_hinting = get_option('default-hinting')
conf_links = [
'10-hinting-@0@.conf'.format(preferred_hinting),
'10-scale-bitmap-fonts.conf',
'10-yes-antialias.conf',
'11-lcdfilter-default.conf',
'20-unhint-small-vera.conf',
'30-metric-aliases.conf',