Skip to content

Commit f1c8c7a

Browse files
committed
removed use of -R flag in ttfautohint in an attempt to address bug in #377, this eliminates the regular set as the blue zone reference font
1 parent 0705af3 commit f1c8c7a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: build-ttf.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -169,31 +169,31 @@ echo " "
169169
mkdir master_ttf/hinted
170170

171171
# Hack-Regular.ttf
172-
if ! "$TTFAH" -l 6 -r 50 -x 10 -H 181 -D latn -f latn -w G -W -t -X "" -I -R "master_ttf/Hack-Regular.ttf" -m "postbuild_processing/tt-hinting/Hack-Regular-TA.txt" "master_ttf/Hack-Regular.ttf" "master_ttf/hinted/Hack-Regular.ttf"
172+
if ! "$TTFAH" -l 6 -r 50 -x 10 -H 181 -D latn -f latn -w G -W -t -X "" -I -m "postbuild_processing/tt-hinting/Hack-Regular-TA.txt" "master_ttf/Hack-Regular.ttf" "master_ttf/hinted/Hack-Regular.ttf"
173173
then
174174
echo "Unable to execute ttfautohint on the Hack-Regular variant set. Build canceled." 1>&2
175175
exit 1
176176
fi
177177
echo "master_ttf/Hack-Regular.ttf - successful hinting with ttfautohint"
178178

179179
# Hack-Bold.ttf
180-
if ! "$TTFAH" -l 6 -r 50 -x 10 -H 260 -D latn -f latn -w G -W -t -X "" -I -R "master_ttf/Hack-Regular.ttf" -m "postbuild_processing/tt-hinting/Hack-Bold-TA.txt" "master_ttf/Hack-Bold.ttf" "master_ttf/hinted/Hack-Bold.ttf"
180+
if ! "$TTFAH" -l 6 -r 50 -x 10 -H 260 -D latn -f latn -w G -W -t -X "" -I -m "postbuild_processing/tt-hinting/Hack-Bold-TA.txt" "master_ttf/Hack-Bold.ttf" "master_ttf/hinted/Hack-Bold.ttf"
181181
then
182182
echo "Unable to execute ttfautohint on the Hack-Bold variant set. Build canceled." 1>&2
183183
exit 1
184184
fi
185185
echo "master_ttf/Hack-Bold.ttf - successful hinting with ttfautohint"
186186

187187
# Hack-Italic.ttf
188-
if ! "$TTFAH" -l 6 -r 50 -x 10 -H 145 -D latn -f latn -w G -W -t -X "" -I -R "master_ttf/Hack-Regular.ttf" -m "postbuild_processing/tt-hinting/Hack-Italic-TA.txt" "master_ttf/Hack-Italic.ttf" "master_ttf/hinted/Hack-Italic.ttf"
188+
if ! "$TTFAH" -l 6 -r 50 -x 10 -H 145 -D latn -f latn -w G -W -t -X "" -I -m "postbuild_processing/tt-hinting/Hack-Italic-TA.txt" "master_ttf/Hack-Italic.ttf" "master_ttf/hinted/Hack-Italic.ttf"
189189
then
190190
echo "Unable to execute ttfautohint on the Hack-Italic variant set. Build canceled." 1>&2
191191
exit 1
192192
fi
193193
echo "master_ttf/Hack-Italic.ttf - successful hinting with ttfautohint"
194194

195195
# Hack-BoldItalic.ttf
196-
if ! "$TTFAH" -l 6 -r 50 -x 10 -H 265 -D latn -f latn -w G -W -t -X "" -I -R "master_ttf/Hack-Regular.ttf" -m "postbuild_processing/tt-hinting/Hack-BoldItalic-TA.txt" "master_ttf/Hack-BoldItalic.ttf" "master_ttf/hinted/Hack-BoldItalic.ttf"
196+
if ! "$TTFAH" -l 6 -r 50 -x 10 -H 265 -D latn -f latn -w G -W -t -X "" -I -m "postbuild_processing/tt-hinting/Hack-BoldItalic-TA.txt" "master_ttf/Hack-BoldItalic.ttf" "master_ttf/hinted/Hack-BoldItalic.ttf"
197197
then
198198
echo "Unable to execute ttfautohint on the Hack-BoldItalic variant set. Build canceled." 1>&2
199199
exit 1

0 commit comments

Comments
 (0)