[Fontconfig] fontconfig: Branch 'master'
Akira TAGOH
tagoh at kemper.freedesktop.org
Tue Dec 1 18:36:31 PST 2015
conf.d/10-hinting-full.conf | 13 +++++++++++++
conf.d/10-hinting-medium.conf | 13 +++++++++++++
conf.d/10-hinting-none.conf | 13 +++++++++++++
conf.d/10-hinting-slight.conf | 13 +++++++++++++
conf.d/Makefile.am | 5 +++++
5 files changed, 57 insertions(+)
New commits:
commit 98434b3392172233094cac25ade7225c93da9f1c
Author: Akira TAGOH <akira at tagoh.org>
Date: Wed Dec 2 11:31:50 2015 +0900
Add hintstyle templates and make hintslight default
diff --git a/conf.d/10-hinting-full.conf b/conf.d/10-hinting-full.conf
new file mode 100644
index 0000000..27d8229
--- /dev/null
+++ b/conf.d/10-hinting-full.conf
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <match target="pattern">
+ <!--
+ This configuration is available on the major desktop environments.
+ We shouldn't overwrite it with "assign" unconditionally.
+ Most clients may picks up the first value only. so using "append"
+ may simply works to avoid it.
+ -->
+ <edit name="hintstyle" mode="append"><const>hintfull</const></edit>
+ </match>
+</fontconfig>
diff --git a/conf.d/10-hinting-medium.conf b/conf.d/10-hinting-medium.conf
new file mode 100644
index 0000000..e34ab5b
--- /dev/null
+++ b/conf.d/10-hinting-medium.conf
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <match target="pattern">
+ <!--
+ This configuration is available on the major desktop environments.
+ We shouldn't overwrite it with "assign" unconditionally.
+ Most clients may picks up the first value only. so using "append"
+ may simply works to avoid it.
+ -->
+ <edit name="hintstyle" mode="append"><const>hintmedium</const></edit>
+ </match>
+</fontconfig>
diff --git a/conf.d/10-hinting-none.conf b/conf.d/10-hinting-none.conf
new file mode 100644
index 0000000..0b3810d
--- /dev/null
+++ b/conf.d/10-hinting-none.conf
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <match target="pattern">
+ <!--
+ This configuration is available on the major desktop environments.
+ We shouldn't overwrite it with "assign" unconditionally.
+ Most clients may picks up the first value only. so using "append"
+ may simply works to avoid it.
+ -->
+ <edit name="hintstyle" mode="append"><const>hintnone</const></edit>
+ </match>
+</fontconfig>
diff --git a/conf.d/10-hinting-slight.conf b/conf.d/10-hinting-slight.conf
new file mode 100644
index 0000000..c244ac0
--- /dev/null
+++ b/conf.d/10-hinting-slight.conf
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <match target="pattern">
+ <!--
+ This configuration is available on the major desktop environments.
+ We shouldn't overwrite it with "assign" unconditionally.
+ Most clients may picks up the first value only. so using "append"
+ may simply works to avoid it.
+ -->
+ <edit name="hintstyle" mode="append"><const>hintslight</const></edit>
+ </match>
+</fontconfig>
diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am
index d61756b..4c11a9c 100644
--- a/conf.d/Makefile.am
+++ b/conf.d/Makefile.am
@@ -26,6 +26,7 @@ DOC_SOURCES = README.in
DOC_FILES = $(DOC_SOURCES:.in=)
CONF_LINKS = \
+ 10-hinting-slight.conf \
10-scale-bitmap-fonts.conf \
20-unhint-small-vera.conf \
30-urw-aliases.conf \
@@ -51,6 +52,10 @@ config_DATA = $(DOC_FILES)
templatedir = $(TEMPLATEDIR)
template_DATA = \
10-autohint.conf \
+ 10-hinting-full.conf \
+ 10-hinting-medium.conf \
+ 10-hinting-none.conf \
+ 10-hinting-slight.conf \
10-no-sub-pixel.conf \
10-scale-bitmap-fonts.conf \
10-sub-pixel-bgr.conf \
More information about the Fontconfig
mailing list