Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.002 #376

Merged
merged 8 commits into from
Jan 29, 2018
8 changes: 4 additions & 4 deletions build-ttf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,31 +169,31 @@ echo " "
mkdir 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 "" -n -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
echo "Unable to execute ttfautohint on the Hack-Regular variant set. Build canceled." 1>&2
exit 1
fi
echo "master_ttf/Hack-Regular.ttf - successful hinting with ttfautohint"

# Hack-Bold.ttf
if ! "$TTFAH" -l 6 -r 50 -x 10 -H 260 -D latn -f latn -w G -W -t -X "" -n -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
echo "Unable to execute ttfautohint on the Hack-Bold variant set. Build canceled." 1>&2
exit 1
fi
echo "master_ttf/Hack-Bold.ttf - successful hinting with ttfautohint"

# Hack-Italic.ttf
if ! "$TTFAH" -l 6 -r 50 -x 10 -H 145 -D latn -f latn -w G -W -t -X "" -n -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
echo "Unable to execute ttfautohint on the Hack-Italic variant set. Build canceled." 1>&2
exit 1
fi
echo "master_ttf/Hack-Italic.ttf - successful hinting with ttfautohint"

# Hack-BoldItalic.ttf
if ! "$TTFAH" -l 6 -r 50 -x 10 -H 265 -D latn -f latn -w G -W -t -X "" -n -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
echo "Unable to execute ttfautohint on the Hack-BoldItalic variant set. Build canceled." 1>&2
exit 1
Expand Down
Binary file modified build/ttf/Hack-Bold.ttf
Binary file not shown.
Binary file modified build/ttf/Hack-BoldItalic.ttf
Binary file not shown.
Binary file modified build/ttf/Hack-Italic.ttf
Binary file not shown.
Binary file modified build/ttf/Hack-Regular.ttf
Binary file not shown.
Binary file modified build/web/fonts/hack-bold-subset.woff
Binary file not shown.
Binary file modified build/web/fonts/hack-bold-subset.woff2
Binary file not shown.
Binary file modified build/web/fonts/hack-bold.woff
Binary file not shown.
Binary file modified build/web/fonts/hack-bold.woff2
Binary file not shown.
Binary file modified build/web/fonts/hack-bolditalic-subset.woff
Binary file not shown.
Binary file modified build/web/fonts/hack-bolditalic-subset.woff2
Binary file not shown.
Binary file modified build/web/fonts/hack-bolditalic.woff
Binary file not shown.
Binary file modified build/web/fonts/hack-bolditalic.woff2
Binary file not shown.
Binary file modified build/web/fonts/hack-italic-subset.woff
Binary file not shown.
Binary file modified build/web/fonts/hack-italic-subset.woff2
Binary file not shown.
Binary file modified build/web/fonts/hack-italic.woff
Binary file not shown.
Binary file modified build/web/fonts/hack-italic.woff2
Binary file not shown.
Binary file modified build/web/fonts/hack-regular-subset.woff
Binary file not shown.
Binary file modified build/web/fonts/hack-regular-subset.woff2
Binary file not shown.
Binary file modified build/web/fonts/hack-regular.woff
Binary file not shown.
Binary file modified build/web/fonts/hack-regular.woff2
Binary file not shown.
8 changes: 4 additions & 4 deletions build/web/hack-subset.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@
* -------------------------- */
@font-face {
font-family: 'Hack';
src: url('fonts/hack-regular-subset.woff2?sha=50c08ef1e') format('woff2'), url('fonts/hack-regular-subset.woff?sha=50c08ef1e') format('woff');
src: url('fonts/hack-regular-subset.woff2?sha=e813aeef7') format('woff2'), url('fonts/hack-regular-subset.woff?sha=e813aeef7') format('woff');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'Hack';
src: url('fonts/hack-bold-subset.woff2?sha=50c08ef1e') format('woff2'), url('fonts/hack-bold-subset.woff?sha=50c08ef1e') format('woff');
src: url('fonts/hack-bold-subset.woff2?sha=e813aeef7') format('woff2'), url('fonts/hack-bold-subset.woff?sha=e813aeef7') format('woff');
font-weight: 700;
font-style: normal;
}

@font-face {
font-family: 'Hack';
src: url('fonts/hack-italic-subset.woff2?sha=50c08ef1e') format('woff2'), url('fonts/hack-italic-webfont.woff?sha=50c08ef1e') format('woff');
src: url('fonts/hack-italic-subset.woff2?sha=e813aeef7') format('woff2'), url('fonts/hack-italic-webfont.woff?sha=e813aeef7') format('woff');
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: 'Hack';
src: url('fonts/hack-bolditalic-subset.woff2?sha=50c08ef1e') format('woff2'), url('fonts/hack-bolditalic-subset.woff?sha=50c08ef1e') format('woff');
src: url('fonts/hack-bolditalic-subset.woff2?sha=e813aeef7') format('woff2'), url('fonts/hack-bolditalic-subset.woff?sha=e813aeef7') format('woff');
font-weight: 700;
font-style: italic;
}
Expand Down
8 changes: 4 additions & 4 deletions build/web/hack.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@
* -------------------------- */
@font-face {
font-family: 'Hack';
src: url('fonts/hack-regular.woff2?sha=50c08ef1e') format('woff2'), url('fonts/hack-regular.woff?sha=50c08ef1e') format('woff');
src: url('fonts/hack-regular.woff2?sha=e813aeef7') format('woff2'), url('fonts/hack-regular.woff?sha=e813aeef7') format('woff');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'Hack';
src: url('fonts/hack-bold.woff2?sha=50c08ef1e') format('woff2'), url('fonts/hack-bold.woff?sha=50c08ef1e') format('woff');
src: url('fonts/hack-bold.woff2?sha=e813aeef7') format('woff2'), url('fonts/hack-bold.woff?sha=e813aeef7') format('woff');
font-weight: 700;
font-style: normal;
}

@font-face {
font-family: 'Hack';
src: url('fonts/hack-italic.woff2?sha=50c08ef1e') format('woff2'), url('fonts/hack-italic.woff?sha=50c08ef1e') format('woff');
src: url('fonts/hack-italic.woff2?sha=e813aeef7') format('woff2'), url('fonts/hack-italic.woff?sha=e813aeef7') format('woff');
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: 'Hack';
src: url('fonts/hack-bolditalic.woff2?sha=50c08ef1e') format('woff2'), url('fonts/hack-bolditalic.woff?sha=50c08ef1e') format('woff');
src: url('fonts/hack-bolditalic.woff2?sha=e813aeef7') format('woff2'), url('fonts/hack-bolditalic.woff?sha=e813aeef7') format('woff');
font-weight: 700;
font-style: italic;
}
Expand Down
2 changes: 1 addition & 1 deletion postbuild_processing/archive_prep/archiver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# ////////////////////////////////////////////////////////////////////

HACK_VERSION="v3.001"
HACK_VERSION="v3.002"
HACK_ARCHIVES_DIR="../../../Hack-archives"
HACK_BUILD_DIR="../../build"

Expand Down
4 changes: 2 additions & 2 deletions source/Hack-Bold.ufo/fontinfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Except as contained in this notice, the names of Gnome, the Gnome Foundation, an
<key>openTypeNameUniqueID</key>
<string>SourceFoundry: Hack Bold: 2018</string>
<key>openTypeNameVersion</key>
<string>Version 3.001</string>
<string>Version 3.002</string>
<key>openTypeOS2CodePageRanges</key>
<array>
<integer>0</integer>
Expand Down Expand Up @@ -272,7 +272,7 @@ Except as contained in this notice, the names of Gnome, the Gnome Foundation, an
<key>versionMajor</key>
<integer>3</integer>
<key>versionMinor</key>
<integer>001</integer>
<integer>002</integer>
<key>xHeight</key>
<integer>1120</integer>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions source/Hack-BoldItalic.ufo/fontinfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Except as contained in this notice, the names of Gnome, the Gnome Foundation, an
<key>openTypeNameUniqueID</key>
<string>SourceFoundry: Hack Bold Italic: 2018</string>
<key>openTypeNameVersion</key>
<string>Version 3.001</string>
<string>Version 3.002</string>
<key>openTypeOS2CodePageRanges</key>
<array>
<integer>0</integer>
Expand Down Expand Up @@ -273,7 +273,7 @@ Except as contained in this notice, the names of Gnome, the Gnome Foundation, an
<key>versionMajor</key>
<integer>3</integer>
<key>versionMinor</key>
<integer>001</integer>
<integer>002</integer>
<key>xHeight</key>
<integer>1120</integer>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions source/Hack-Italic.ufo/fontinfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Except as contained in this notice, the names of Gnome, the Gnome Foundation, an
<key>openTypeNameUniqueID</key>
<string>SourceFoundry: Hack Italic: 2018</string>
<key>openTypeNameVersion</key>
<string>Version 3.001</string>
<string>Version 3.002</string>
<key>openTypeOS2CodePageRanges</key>
<array>
<integer>0</integer>
Expand Down Expand Up @@ -271,7 +271,7 @@ Except as contained in this notice, the names of Gnome, the Gnome Foundation, an
<key>versionMajor</key>
<integer>3</integer>
<key>versionMinor</key>
<integer>001</integer>
<integer>002</integer>
<key>xHeight</key>
<integer>1120</integer>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions source/Hack-Regular.ufo/fontinfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Except as contained in this notice, the names of Gnome, the Gnome Foundation, an
<key>openTypeNameUniqueID</key>
<string>SourceFoundry: Hack: 2018</string>
<key>openTypeNameVersion</key>
<string>Version 3.001</string>
<string>Version 3.002</string>
<key>openTypeOS2CodePageRanges</key>
<array>
<integer>0</integer>
Expand Down Expand Up @@ -272,7 +272,7 @@ Except as contained in this notice, the names of Gnome, the Gnome Foundation, an
<key>versionMajor</key>
<integer>3</integer>
<key>versionMinor</key>
<integer>001</integer>
<integer>002</integer>
<key>xHeight</key>
<integer>1120</integer>
</dict>
Expand Down
9 changes: 6 additions & 3 deletions tools/scripts/install/ttfautohint-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,16 @@
BUILD="$HOME/ttfautohint-build"

# The library versions.
FREETYPE_VERSION="2.8.1"
HARFBUZZ_VERSION="1.7.4"
FREETYPE_VERSION="2.8"
HARFBUZZ_VERSION="1.5.0"
TTFAUTOHINT_VERSION="1.7"

# Necessary patches (lists of at most 10 URLs each separated by whitespace,
# to be applied in order).
FREETYPE_PATCHES=""
FREETYPE_PATCHES="\
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/patch/?id=c9a9cf59 \
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/patch/?id=c8829e4b \
"
HARFBUZZ_PATCHES=""
TTFAUTOHINT_PATCHES=""

Expand Down