Browse Source

modified ttfautohint Control Instruction File hint settings for U+007C in italic and bold italic sets

Chris Simpkins 9 năm trước cách đây
mục cha
commit
24d2411aac

+ 4 - 3
postbuild_processing/tt-hinting/Hack-Bold-TA.txt

@@ -1,6 +1,7 @@
-# adjust point above lowercase i and j glyphs
+# [ U+0069 ] adjust point above lowercase i
 i  touch 0,1, 4,5, 6,7, 10,11  y 1  @  6, 7, 15, 16, 21, 22
+
+# [ U+006A] adjust point above lowercase j
 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
+

+ 5 - 2
postbuild_processing/tt-hinting/Hack-BoldItalic-TA.txt

@@ -1,2 +1,5 @@
-# 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
+# [ U+002B ] adjust the space in the vertical stroke of bar glyph
+bar touch 2,3  y 0.25  @ 6
+bar touch 2,3  y 1     @ 10,11,12,13
+bar touch 4,5  y -0.25 @ 6
+bar touch 4,5  y -1    @ 10

+ 8 - 3
postbuild_processing/tt-hinting/Hack-Italic-TA.txt

@@ -1,3 +1,8 @@
-# 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
+# [ U+002B ] adjust the space in the vertical stroke of bar glyph
+bar touch 4,7  y 0.5   @ 6
+bar touch 4,7  y 0.25  @ 7
+bar touch 4,7  y 1     @ 10,11,12,13,14
+bar touch 0,3  y -0.25 @ 6
+bar touch 0,3  y -0.5  @ 7
+bar touch 0,3  y -1    @ 10,14
+

+ 2 - 2
postbuild_processing/tt-hinting/autohint.sh

@@ -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-TT.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-TT.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-TT.ttf" "../posthinted_builds/Hack-Italic.ttf"
 echo "Hack-Italic-TT.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-TT.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-TT.ttf" "../posthinted_builds/Hack-BoldItalic.ttf"
 echo "Hack-BoldItalic-TT.ttf hinted and moved to ../posthinted_builds/Hack-BoldItalic.ttf"