Skip to content

Commit

Permalink
Fix: Deleted "kern" table.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuru7 committed May 22, 2019
1 parent d67a7e4 commit f11b4aa
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bak/*
!bak/.gitkeep
work/
Empty file added bak/.gitkeep
Empty file.
Binary file modified build/HackGen-Bold.ttf
Binary file not shown.
Binary file modified build/HackGen-BoldOblique.ttf
Binary file not shown.
Binary file modified build/HackGen-Oblique.ttf
Binary file not shown.
Binary file modified build/HackGen-Regular.ttf
Binary file not shown.
12 changes: 8 additions & 4 deletions hackgen_generator.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -676,10 +676,12 @@ while (i < SizeOf(fontstyle_list))
# Save HackGen
if (fontfamilysuffix != "")
Print("Save " + fontfamily + fontfamilysuffix + "-" + fontstyle_list[i] + ".ttf")
Generate(fontfamily + fontfamilysuffix + "-" + fontstyle_list[i] + ".ttf", "", 0x84)
#Generate(fontfamily + fontfamilysuffix + "-" + fontstyle_list[i] + ".ttf", "", 0x84)
Generate(fontfamily + fontfamilysuffix + "-" + fontstyle_list[i] + ".ttf", "", 4)
else
Print("Save " + fontfamily + "-" + fontstyle_list[i] + ".ttf")
Generate(fontfamily + "-" + fontstyle_list[i] + ".ttf", "", 0x84)
#Generate(fontfamily + "-" + fontstyle_list[i] + ".ttf", "", 0x84)
Generate(fontfamily + "-" + fontstyle_list[i] + ".ttf", "", 4)
endif
Close()
Expand Down Expand Up @@ -992,7 +994,8 @@ endif
# Save HackGen Discord
Print("Save " + inputfamily + familysuffix + "-" + inputstyle + ".ttf")
Generate(inputfamily + familysuffix + "-" + inputstyle + ".ttf", "", 0x84)
#Generate(inputfamily + familysuffix + "-" + inputstyle + ".ttf", "", 0x84)
Generate(inputfamily + familysuffix + "-" + inputstyle + ".ttf", "", 4)
Close()
Quit()
Expand Down Expand Up @@ -1061,7 +1064,8 @@ RoundToInt()
RemoveOverlap()
RoundToInt()
Generate(output_family + "-" + output_style + ".ttf", "", 0x84)
#Generate(output_family + "-" + output_style + ".ttf", "", 0x84)
Generate(output_family + "-" + output_style + ".ttf", "", 4)
Close()
i += 1
Expand Down
Empty file modified make_hackgen.sh
100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions os2_patch.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ for P in ${BASE_DIR}/HackGen*.ttf; do
ttx -m "${P}_orig" "${P%%.ttf}.ttx"

if [ $? -eq 0 ]; then
mv "$P" "${BASE_DIR}/build"
mv "${P}_orig" "${BASE_DIR}/bak"
mv "${P%%.ttf}.ttx" "${BASE_DIR}/bak"
mv "$P" "${BASE_DIR}/build/"
mv "${P}_orig" "${BASE_DIR}/bak/"
mv "${P%%.ttf}.ttx" "${BASE_DIR}/bak/"
rm "${P%%.ttf}.ttx.bak"
fi
done
Expand Down

0 comments on commit f11b4aa

Please sign in to comment.