diff --git a/bin/scripts/Hack/autohint.sh b/bin/scripts/Hack/autohint.sh index 4f2b917d2e..1dd2814e20 100755 --- a/bin/scripts/Hack/autohint.sh +++ b/bin/scripts/Hack/autohint.sh @@ -1,11 +1,13 @@ #!/bin/bash # ------------------------------------------------------------------ # -# autohint.sh -# Copyright 2016 Christopher Simpkins -# MIT license -# Modified by Ryan L McIntyre -# for Nerd Fonts (https://github.com/ryanoasis/nerd-fonts) +# autohint.sh +# Copyright 2016 Christopher Simpkins +# MIT license +# Modified by Ryan L McIntyre +# for Nerd Fonts (https://github.com/ryanoasis/nerd-fonts) +# Nerd Fonts Version: 2.0.0 +# Script Version: 1.0.1 # # ------------------------------------------------------------------ @@ -26,22 +28,22 @@ cp "$fontfile" "${fontfile}.tmp" if [[ "$fontfile" == *" Regular"* ]] then - echo "[Nerd Fonts] Hinting Knack (Hack) Regular" + echo "[Nerd Fonts] Hinting Hack Regular" ttfautohint -l 4 -r 80 -G 350 -x 0 -H 181 -D latn -f latn -w G -W -t -X "" -I -m "bin/scripts/Hack/Hack-Regular-TA.txt" "${fontfile}.tmp" "$fontfile" elif [[ "$fontfile" == *" Bold"* ]] then - echo "[Nerd Fonts] Hinting Knack (Hack) Bold" + echo "[Nerd Fonts] Hinting Hack Bold" ttfautohint -l 4 -r 80 -G 350 -x 0 -H 260 -D latn -f latn -w G -W -t -X "" -I -m "bin/scripts/Hack/Hack-Bold-TA.txt" "${fontfile}.tmp" "$fontfile" elif [[ "$fontfile" == *" Italic"* ]] then - echo "[Nerd Fonts] Hinting Knack (Hack) Italic" + echo "[Nerd Fonts] Hinting Hack Italic" ttfautohint -l 4 -r 80 -G 350 -x 0 -H 145 -D latn -f latn -w G -W -t -X "" -I -m "bin/scripts/Hack/Hack-Bold-TA.txt" "${fontfile}.tmp" "$fontfile" elif [[ "$fontfile" == *" BoldItalic"* ]] then - echo "[Nerd Fonts] Hinting Knack (Hack) Bold Italic" + echo "[Nerd Fonts] Hinting Hack Bold Italic" ttfautohint -l 4 -r 80 -G 350 -x 0 -H 265 -D latn -f latn -w G -W -t -X "" -I -m "bin/scripts/Hack/Hack-Bold-TA.txt" "${fontfile}.tmp" "$fontfile" else - echo "[Nerd Fonts] Could not find any Knack (Hack) fonts to hint..." + echo "[Nerd Fonts] Could not find any Hack fonts to hint..." fi # clean-up diff --git a/bin/scripts/Hack/postprocess.sh b/bin/scripts/Hack/postprocess.sh index f26d94dc36..2e3770b39f 100755 --- a/bin/scripts/Hack/postprocess.sh +++ b/bin/scripts/Hack/postprocess.sh @@ -1,5 +1,6 @@ #!/bin/bash -# version: 1.1.0 +# Nerd Fonts Version: 2.0.0 +# Script Version: 1.1.0 fontfile=$1 dir=$(dirname "$0") diff --git a/font-patcher b/font-patcher index ef18d067ba..2a305b3529 100755 --- a/font-patcher +++ b/font-patcher @@ -243,8 +243,6 @@ reservedFontNameReplacements = { 'Hermit' : 'Hurmit', 'fira' : 'fura', 'Fira' : 'Fura', - 'hack' : 'knack', - 'Hack' : 'Knack', 'hasklig' : 'hasklug', 'Hasklig' : 'Hasklug', 'Share' : 'Shure', diff --git a/readme.md b/readme.md index e92ca513b1..533abc1882 100644 --- a/readme.md +++ b/readme.md @@ -201,7 +201,7 @@ echo $i_oct_heart | [Inconsolata Go Nerd Font][p-inconsolata-go] | | NO | 1000 | ![w] ![m2] ![l] | | [Inconsolata LGC Nerd Font][p-inconsolata-lgc] | | NO | 1000 | ![w] ![m2] ![l] | | [Iosevka Nerd Font][p-iosevka] | [Iosevka][f-iosevka] | YES | 1000 | [#83][s-iosevka] | -| [Knack Nerd Font*][p-hack] | [Hack][f-hack] | YES | 2048 | ![w] ![m2] ![l] | +| [Hack Nerd Font*][p-hack] | [Hack][f-hack] | NO | 2048 | ![w] ![m2] ![l] | | [Lekton Nerd Font][p-lekton] | | NO | 1000 | ![w] ![m2] ![l] | | [Literation Mono Nerd Font][p-liberation] | [Liberation][f-liberation] | YES | 2048 | ![w] ![m2] ![l] | | [Meslo Nerd Font][p-meslo] | | NO | 2048 | ![w] ![m2] ![l] |