mirror of
https://github.com/source-foundry/Hack.git
synced 2024-10-05 17:28:07 +03:00
removed use of -R flag in ttfautohint in an attempt to address bug in https://github.com/source-foundry/Hack/issues/377, this eliminates the regular set as the blue zone reference font
This commit is contained in:
parent
0705af3c79
commit
f1c8c7abc8
@ -169,7 +169,7 @@ echo " "
|
|||||||
mkdir master_ttf/hinted
|
mkdir master_ttf/hinted
|
||||||
|
|
||||||
# Hack-Regular.ttf
|
# Hack-Regular.ttf
|
||||||
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"
|
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"
|
||||||
then
|
then
|
||||||
echo "Unable to execute ttfautohint on the Hack-Regular variant set. Build canceled." 1>&2
|
echo "Unable to execute ttfautohint on the Hack-Regular variant set. Build canceled." 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
@ -177,7 +177,7 @@ fi
|
|||||||
echo "master_ttf/Hack-Regular.ttf - successful hinting with ttfautohint"
|
echo "master_ttf/Hack-Regular.ttf - successful hinting with ttfautohint"
|
||||||
|
|
||||||
# Hack-Bold.ttf
|
# Hack-Bold.ttf
|
||||||
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"
|
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"
|
||||||
then
|
then
|
||||||
echo "Unable to execute ttfautohint on the Hack-Bold variant set. Build canceled." 1>&2
|
echo "Unable to execute ttfautohint on the Hack-Bold variant set. Build canceled." 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
@ -185,7 +185,7 @@ fi
|
|||||||
echo "master_ttf/Hack-Bold.ttf - successful hinting with ttfautohint"
|
echo "master_ttf/Hack-Bold.ttf - successful hinting with ttfautohint"
|
||||||
|
|
||||||
# Hack-Italic.ttf
|
# Hack-Italic.ttf
|
||||||
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"
|
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"
|
||||||
then
|
then
|
||||||
echo "Unable to execute ttfautohint on the Hack-Italic variant set. Build canceled." 1>&2
|
echo "Unable to execute ttfautohint on the Hack-Italic variant set. Build canceled." 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
@ -193,7 +193,7 @@ fi
|
|||||||
echo "master_ttf/Hack-Italic.ttf - successful hinting with ttfautohint"
|
echo "master_ttf/Hack-Italic.ttf - successful hinting with ttfautohint"
|
||||||
|
|
||||||
# Hack-BoldItalic.ttf
|
# Hack-BoldItalic.ttf
|
||||||
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"
|
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"
|
||||||
then
|
then
|
||||||
echo "Unable to execute ttfautohint on the Hack-BoldItalic variant set. Build canceled." 1>&2
|
echo "Unable to execute ttfautohint on the Hack-BoldItalic variant set. Build canceled." 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user