diff --git a/CHANGELOG.md b/CHANGELOG.md index 170f5fc89..226426a8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ttf, otf, webfont builds -Changes vs. release v.2015: +Changes vs. release v2.015: - increased vertical position of the tilde (U+007E) to improve alignment with other glyphs - Issue #23 - increased width of the vertical stroke on the dollar symbol (U+0024) - Issue #92 @@ -37,7 +37,7 @@ Changes vs. release v.2015: - added U+016C (upper case U breve) - Issue #21 - added U+016D (lower case u breve) - Issue #21 - added U+20B7 (spesmilo) - Issue #21 -- modified ttf instructions on U+002B (plus) with ttfautohint CIF - Issue #130 +- modified ttf instruction sets on U+002B (plus) to adjust the horizontal stroke to appropriate position at some text sizes, all sets - Issue #130 - updated ttfautohint to version 1.4.1 for TrueType (.ttf) build instruction sets # Version 2.016 diff --git a/postbuild_processing/tt-hinting/Hack-Bold-TA.txt b/postbuild_processing/tt-hinting/Hack-Bold-TA.txt index 20f1ddeb6..00e421163 100644 --- a/postbuild_processing/tt-hinting/Hack-Bold-TA.txt +++ b/postbuild_processing/tt-hinting/Hack-Bold-TA.txt @@ -1,2 +1,6 @@ +# adjust point above lowercase i and j glyphs i touch 0,1, 4,5, 6,7, 10,11 y 1 @ 6, 7, 15, 16, 21, 22 j touch 0,1, 4,5, 6,7, 10,11 y 1 @ 6, 7, 15, 16, 21, 22 + +# adjust horizontal stem in plus glyph (U+002B) +plus touch 0,1,2,3,6,7,8,9 y 0.5 @ 7, 10, 11, 15, 16, 19, 20 diff --git a/postbuild_processing/tt-hinting/Hack-BoldItalic-TA.txt b/postbuild_processing/tt-hinting/Hack-BoldItalic-TA.txt new file mode 100644 index 000000000..b87712eed --- /dev/null +++ b/postbuild_processing/tt-hinting/Hack-BoldItalic-TA.txt @@ -0,0 +1,2 @@ +# adjust horizontal stem in plus glyph (U+002B) +plus touch 0,1,2,3,6,7,8,9 y 0.5 @ 7, 10, 11, 15, 16, 19, 20 diff --git a/postbuild_processing/tt-hinting/Hack-Italic-TA.txt b/postbuild_processing/tt-hinting/Hack-Italic-TA.txt new file mode 100644 index 000000000..e06f48c00 --- /dev/null +++ b/postbuild_processing/tt-hinting/Hack-Italic-TA.txt @@ -0,0 +1,3 @@ +# adjust horizontal stem in plus glyph (U+002B) +plus touch 0,1,2,3,6,7,8,9 y 0.5 @ 7, 10, 11 +plus touch 0,1,2,3,6,7,8,9 y -0.5 @ 6, 12, 13, 15, 16, 19, 20 diff --git a/postbuild_processing/tt-hinting/Hack-Regular-TA.txt b/postbuild_processing/tt-hinting/Hack-Regular-TA.txt new file mode 100644 index 000000000..12ff38ecd --- /dev/null +++ b/postbuild_processing/tt-hinting/Hack-Regular-TA.txt @@ -0,0 +1,3 @@ +# adjust horizontal stem in plus glyph (U+002B) +plus touch 0,1,2,3,6,7,8,9 y 0.5 @ 7, 10, 11 +plus touch 0,1,2,3,6,7,8,9 y -0.5 @ 12, 13, 15, 16 diff --git a/postbuild_processing/tt-hinting/autohint.sh b/postbuild_processing/tt-hinting/autohint.sh index 390576cb6..c4957e634 100755 --- a/postbuild_processing/tt-hinting/autohint.sh +++ b/postbuild_processing/tt-hinting/autohint.sh @@ -12,7 +12,7 @@ # Hack-Regular.ttf -ttfautohint -l 4 -r 80 -G 350 -x 0 -H 181 -D latn -f latn -w G -W -t -X "" -I "../prehinted_builds/Hack-Regular.ttf" "../posthinted_builds/Hack-Regular.ttf" +ttfautohint -l 4 -r 80 -G 350 -x 0 -H 181 -D latn -f latn -w G -W -t -X "" -I -m "Hack-Regular-TA.txt" "../prehinted_builds/Hack-Regular.ttf" "../posthinted_builds/Hack-Regular.ttf" echo "Hack-Regular.ttf hinted and moved to ../posthinted_builds/Hack-Regular.ttf" # Hack-Bold.ttf @@ -20,9 +20,9 @@ ttfautohint -l 4 -r 80 -G 350 -x 0 -H 260 -D latn -f latn -w G -W -t -X "" -I -m echo "Hack-Bold.ttf hinted and moved to ../posthinted_builds/Hack-Bold.ttf" # Hack-Italic.ttf -ttfautohint -l 4 -r 80 -G 350 -x 0 -H 145 -D latn -f latn -w G -W -t -X "" -I "../prehinted_builds/Hack-Italic.ttf" "../posthinted_builds/Hack-Italic.ttf" +ttfautohint -l 4 -r 80 -G 350 -x 0 -H 145 -D latn -f latn -w G -W -t -X "" -I -m "Hack-Italic-TA.txt" "../prehinted_builds/Hack-Italic.ttf" "../posthinted_builds/Hack-Italic.ttf" echo "Hack-Italic.ttf hinted and moved to ../posthinted_builds/Hack-Italic.ttf" # Hack-BoldItalic.ttf -ttfautohint -l 4 -r 80 -G 350 -x 0 -H 265 -D latn -f latn -w G -W -t -X "" -I "../prehinted_builds/Hack-BoldItalic.ttf" "../posthinted_builds/Hack-BoldItalic.ttf" +ttfautohint -l 4 -r 80 -G 350 -x 0 -H 265 -D latn -f latn -w G -W -t -X "" -I -m "Hack-BoldItalic-TA.txt" "../prehinted_builds/Hack-BoldItalic.ttf" "../posthinted_builds/Hack-BoldItalic.ttf" echo "Hack-BoldItalic.ttf hinted and moved to ../posthinted_builds/Hack-BoldItalic.ttf"