Skip to content

Commit

Permalink
Fixed xAvgCharWidth
Browse files Browse the repository at this point in the history
  • Loading branch information
yuru7 committed May 29, 2019
1 parent 4c276bf commit a0c6c85
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 5 deletions.
Binary file modified build/HackGen-Bold.ttf
Binary file not shown.
Binary file modified build/HackGen-Regular.ttf
Binary file not shown.
Binary file modified build/HackGen53-Bold.ttf
Binary file not shown.
Binary file modified build/HackGen53-Regular.ttf
Binary file not shown.
Binary file modified build/HackGen53Console-Bold-forPowerline.ttf
Binary file not shown.
Binary file modified build/HackGen53Console-Bold.ttf
Binary file not shown.
Binary file modified build/HackGen53Console-Regular-forPowerline.ttf
Binary file not shown.
Binary file modified build/HackGen53Console-Regular.ttf
Binary file not shown.
Binary file modified build/HackGenConsole-Bold-forPowerline.ttf
Binary file not shown.
Binary file modified build/HackGenConsole-Bold.ttf
Binary file not shown.
Binary file modified build/HackGenConsole-Regular-forPowerline.ttf
Binary file not shown.
Binary file modified build/HackGenConsole-Regular.ttf
Binary file not shown.
8 changes: 4 additions & 4 deletions hackgen_generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

base_dir=$(cd $(dirname $0); pwd)
# HackGen Generator
hackgen_version="0.6.0"
hackgen_version="0.6.1"

# Set familyname
hackgen_familyname="HackGen"
Expand All @@ -19,7 +19,7 @@ em_ascent=881
em_descent=143
em=$(($em_ascent + $em_descent))

typo_line_gap=150
typo_line_gap=100

hack_width=616
genjyuu_width=1024
Expand Down Expand Up @@ -1037,7 +1037,7 @@ while (i < SizeOf(fontstyle_list))
SetOS2Value("WinDescent", ${hackgen_descent})
SetOS2Value("TypoAscent", ${em_ascent})
SetOS2Value("TypoDescent", -${em_descent})
SetOS2Value("TypoLineGap", 0)
SetOS2Value("TypoLineGap", ${typo_line_gap})
SetOS2Value("HHeadAscent", ${hackgen_ascent})
SetOS2Value("HHeadDescent", -${hackgen_descent})
SetOS2Value("HHeadLineGap", 0)
Expand Down Expand Up @@ -1143,7 +1143,7 @@ while (i < SizeOf(fontstyle_list))
SetOS2Value("WinDescent", ${hackgen_descent})
SetOS2Value("TypoAscent", ${em_ascent})
SetOS2Value("TypoDescent", -${em_descent})
SetOS2Value("TypoLineGap", 0)
SetOS2Value("TypoLineGap", ${typo_line_gap})
SetOS2Value("HHeadAscent", ${hackgen_ascent})
SetOS2Value("HHeadDescent", -${hackgen_descent})
SetOS2Value("HHeadLineGap", 0)
Expand Down
2 changes: 1 addition & 1 deletion os2_patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

BASE_DIR=$(cd $(dirname $0); pwd)

xAvgCharWidth_SETVAL=542
xAvgCharWidth_SETVAL=1076
HACKGEN_PATTERN='HackGen[^5]*.ttf'

xAvgCharWidth53_SETVAL=1030
Expand Down

0 comments on commit a0c6c85

Please sign in to comment.