fontconfig: Branch 'main'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 conf.d/10-no-antialias.conf  |    8 ++++++++
 conf.d/10-yes-antialias.conf |    8 ++++++++
 conf.d/Makefile.am           |    3 +++
 conf.d/meson.build           |    3 +++
 4 files changed, 22 insertions(+)

New commits:
commit 0825a178e82c58ae97e908d49e5ad7abe88ed7f5
Author: Akira TAGOH <akira@xxxxxxxxx>
Date:   Fri Oct 14 21:23:14 2022 +0900

    Add config files to enable/disable antialias

diff --git a/conf.d/10-no-antialias.conf b/conf.d/10-no-antialias.conf
new file mode 100644
index 0000000..9a564e5
--- /dev/null
+++ b/conf.d/10-no-antialias.conf
@@ -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>
diff --git a/conf.d/10-yes-antialias.conf b/conf.d/10-yes-antialias.conf
new file mode 100644
index 0000000..4451f6e
--- /dev/null
+++ b/conf.d/10-yes-antialias.conf
@@ -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>
diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am
index 8474722..79b4d2a 100644
--- a/conf.d/Makefile.am
+++ b/conf.d/Makefile.am
@@ -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		\
diff --git a/conf.d/meson.build b/conf.d/meson.build
index 1ccddc2..8ffaad6 100644
--- a/conf.d/meson.build
+++ b/conf.d/meson.build
@@ -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',



[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux