瀏覽代碼

updated TrueType autohinting for regular set, ttfautohint Control Instruction File

Chris Simpkins 9 年之前
父節點
當前提交
1c1d78c617
共有 2 個文件被更改,包括 5 次插入4 次删除
  1. 4 3
      postbuild_processing/tt-hinting/Hack-Regular-TA.txt
  2. 1 1
      postbuild_processing/tt-hinting/autohint.sh

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

@@ -1,3 +1,4 @@
-# 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
+# [ U+0030 ] Adjust fill in the zero glyph
+# zero touch 39-48,65-71  y -1    @ 12,13,14
+# zero touch 39-48,65-71  y -0.5  @ 7,8
+# zero touch 49-64        y -1    @ 8

+ 1 - 1
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-TT.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-TT.ttf" "../posthinted_builds/Hack-Regular.ttf"
 echo "Hack-Regular-TT.ttf hinted and moved to ../posthinted_builds/Hack-Regular.ttf"
 
 # Hack-Bold.ttf