diff options
author | Akira TAGOH <akira@tagoh.org> | 2015-12-02 11:31:50 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2015-12-02 11:31:50 +0900 |
commit | 98434b3392172233094cac25ade7225c93da9f1c (patch) | |
tree | fd7449347bbae851e121e8003e4acf0414ebafc7 | |
parent | 04763135d47ae24a808fc15c4482e2bb6f847ab9 (diff) |
Add hintstyle templates and make hintslight default
-rw-r--r-- | conf.d/10-hinting-full.conf | 13 | ||||
-rw-r--r-- | conf.d/10-hinting-medium.conf | 13 | ||||
-rw-r--r-- | conf.d/10-hinting-none.conf | 13 | ||||
-rw-r--r-- | conf.d/10-hinting-slight.conf | 13 | ||||
-rw-r--r-- | conf.d/Makefile.am | 5 |
5 files changed, 57 insertions, 0 deletions
diff --git a/conf.d/10-hinting-full.conf b/conf.d/10-hinting-full.conf new file mode 100644 index 00000000..27d82291 --- /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 00000000..e34ab5b3 --- /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 00000000..0b3810d9 --- /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 00000000..c244ac0b --- /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 d61756b8..4c11a9c0 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 \ |