Skip to content

Commit

Permalink
Modify y scale
Browse files Browse the repository at this point in the history
  • Loading branch information
yuru7 committed Dec 17, 2022
1 parent 7b67314 commit 74aeee3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
6 changes: 3 additions & 3 deletions hackgen_generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ genjyuu_width=1024
hackgen_half_width=540
hackgen_full_width=$((${hackgen_half_width} * 2))
hack_shrink_x=88
hack_shrink_y=93
hack_shrink_y=97

hackgen35_half_width=618
hackgen35_full_width=$((${hackgen35_half_width} * 5 / 3))
Expand Down Expand Up @@ -2586,12 +2586,12 @@ $fontforge_command -script ${tmpdir}/${hackgen35_box_drawing_light_generator} 2>
# Add hinting HackGen Regular
for f in ${hackgen_familyname}-Regular.ttf ${hackgen_familyname}${hackgen_console_suffix}-Regular.ttf
do
ttfautohint -m hinting_post_processing/hackgen-regular-ctrl.txt -l 6 -r 45 -X "12-" -a qsq -D latn -W -I "$f" "hinted_${f}"
ttfautohint -m hinting_post_processing/hackgen-regular-ctrl.txt -l 6 -r 45 -X "12-" -a nnn -D latn -W -I "$f" "hinted_${f}"
done
# Add hinting HackGen Bold
for f in ${hackgen_familyname}-Bold.ttf ${hackgen_familyname}${hackgen_console_suffix}-Bold.ttf
do
ttfautohint -m hinting_post_processing/hackgen-bold-ctrl.txt -l 6 -r 45 -X "12-" -a qsq -D latn -W -I "$f" "hinted_${f}"
ttfautohint -m hinting_post_processing/hackgen-bold-ctrl.txt -l 6 -r 45 -X "12-" -a nnn -D latn -W -I "$f" "hinted_${f}"
done
# Add hinting HackGen35 Regular
for f in ${hackgen35_familyname}-Regular.ttf ${hackgen35_familyname}${hackgen_console_suffix}-Regular.ttf
Expand Down
22 changes: 11 additions & 11 deletions hinting_post_processing/hackgen-bold-ctrl.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# plus
uni002B touch 4,5,10,11 y -0.5 @11
uni002B touch 4,5,10,11 y 0.5 @13,14,15,18,19
uni002B touch 4,5,10,11 y -0.5 @17
uni002B touch 4,5,10,11 y 0.5 @14,18

# eight
uni0038 touch 9-11,25-27,34-35,48,56-59 y -0.5 @14,15,18
uni0038 touch 9-11,25-27,34-35,48,56-59 y -0.5 @13,17

# zero
uni0030 touch 34-46 y -0.5 @12,14,16,18,20-21
uni0030 touch 34-46 y 0.5 @17
uni0030 touch 34-46 y -0.5 @13,17
uni0030 touch 34-46 y 0.5 @15

# a
uni0061 touch 7-11,48-52 y -0.5 @11-

# i,j
uni0069 touch 3-8 y 0.5 @11-
uni006A touch 3-8 y 0.5 @11-
uni0069 touch 0-2,9-11 y 0.75 @11-
uni006A touch 0-2,9-11 y 0.75 @11-
uni0069 touch 0-11 y 0.5 @11-
uni006A touch 0-11 y 0.5 @11-
uni0069 touch 0-11 y 0.8 @18
uni006A touch 0-11 y 0.8 @18

# |
uni007C touch 2-3 y -0.4 @14
uni007C touch 4-5 y 0.4 @14
#uni007C touch 2-3 y -0.4 @14
#uni007C touch 4-5 y 0.4 @14
26 changes: 14 additions & 12 deletions hinting_post_processing/hackgen-regular-ctrl.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
# plus
#uni002B touch 4,5,10,11 y -0.5 @
uni002B touch 4,5,10,11 y 0.5 @13,14,17,18
uni002B touch 4,5,10,11 y -0.5 @15
uni002B touch 4,5,10,11 y 0.5 @16

# eight
uni0038 touch 5-7,24-26,32-33,44,53-55 y -0.4 @14,16,19,21
#uni0038 touch 5-7,24-26,32-33,44,53-55 y 0.5 @
uni0038 touch 5-8,24-26,32-33,44,52-54 y -0.4 @13,16,18-20
uni0038 touch 5-8,24-26,32-33,44,52-54 y 0.4 @15

# zero
uni0030 touch 34-46 y -0.3 @16
uni0030 touch 34-46 y -0.5 @13-14,18,20-21
uni0030 touch 34-46 y 0.5 @17
uni0030 touch 33-45 y -0.3 @20
uni0030 touch 33-45 y -0.5 @13
uni0030 touch 33-45 y 0.3 @15

# a
uni0061 touch 5-10,40-44 y -0.5 @14,18,20
uni0061 touch 5-10,40-44 y -0.5 @13-14,16,19

# i,j
uni0069 touch 3-8 y 0.5 @11-
uni006A touch 3-8 y 0.5 @11-
uni0069 touch 0-12 y 0.3 @11-
uni006A touch 0-11 y 0.3 @11-
uni0069 touch 0-12 y 0.75 @18
uni006A touch 0-11 y 0.75 @18

# |
uni007C touch 2-3 y -0.4 @14
uni007C touch 4-5 y 0.4 @14
#uni007C touch 2-3 y -0.4 @14
#uni007C touch 4-5 y 0.4 @14

0 comments on commit 74aeee3

Please sign in to comment.