Skip to content

Commit 52c57fe

Browse files
committed
Change Zenkaku Space glyph.
1 parent 21e70d1 commit 52c57fe

File tree

2 files changed

+1043
-24
lines changed

2 files changed

+1043
-24
lines changed

firge_generator.sh

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ input_improved_legibility_bold=`find $fonts_directories -follow -iname improved_
217217
input_reiwa_regular=`find $fonts_directories -follow -iname reiwa-Regular.sfd | head -n 1`
218218
input_reiwa_bold=`find $fonts_directories -follow -iname reiwa-Bold.sfd | head -n 1`
219219

220+
# Search Ideographic Space
221+
input_ideographic_space=`find $fonts_directories -follow -iname Ideographic_Space.sfd | head -n 1`
222+
220223
# Search nerd patched hack
221224
input_nerd_patched_hack_regular=`find $fonts_directories -follow -iname "$nerd_patched_hack_regular_src" | head -n 1`
222225
input_nerd_patched_hack_bold=`find $fonts_directories -follow -iname "$nerd_patched_hack_bold_src" | head -n 1`
@@ -1178,6 +1181,7 @@ hack = "${tmpdir}/${modified_hack_regular}"
11781181
input_list = ["${input_genjyuu_regular}", "${input_genjyuu_bold}"]
11791182
improved_legibility_list = ["${input_improved_legibility_regular}", "${input_improved_legibility_bold}"]
11801183
reiwa_list = ["${input_reiwa_regular}", "${input_reiwa_bold}"]
1184+
ideographic_space = "$input_ideographic_space"
11811185
output_list = ["${modified_genjyuu_regular}", "${modified_genjyuu_bold}"]
11821186
11831187
fontstyle_list = ["Regular", "Bold"]
@@ -1209,6 +1213,7 @@ while (i < SizeOf(input_list))
12091213
Print("Open " + input_list[i])
12101214
Open(improved_legibility_list[i])
12111215
MergeFonts(reiwa_list[i])
1216+
MergeFonts(ideographic_space)
12121217
MergeFonts(input_list[i])
12131218
12141219
SelectWorthOutputting()
@@ -1264,18 +1269,6 @@ while (i < SizeOf(input_list))
12641269
SetWidth(width_pt)
12651270
Print("Half SetWidth end")
12661271
1267-
# Edit zenkaku space (from ballot box and heavy greek cross)
1268-
if ("${zenkaku_space_glyph}" != "0u3000")
1269-
Print("Edit zenkaku space")
1270-
if ("${zenkaku_space_glyph}" == "")
1271-
Select(0u2610); Copy(); Select(0u3000); Paste()
1272-
Select(0u271a); Copy(); Select(0u3000); PasteInto()
1273-
OverlapIntersect()
1274-
else
1275-
Select(${zenkaku_space_glyph}); Copy(); Select(0u3000); Paste()
1276-
endif
1277-
endif
1278-
12791272
# broken bar は Hack ベースにする
12801273
Select(0u00a6); Clear()
12811274
@@ -1359,6 +1352,7 @@ hack = "${tmpdir}/${modified_hack35_regular}"
13591352
input_list = ["${input_genjyuu_regular}", "${input_genjyuu_bold}"]
13601353
improved_legibility_list = ["${input_improved_legibility_regular}", "${input_improved_legibility_bold}"]
13611354
reiwa_list = ["${input_reiwa_regular}", "${input_reiwa_bold}"]
1355+
ideographic_space = "$input_ideographic_space"
13621356
output_list = ["${modified_genjyuu35_regular}", "${modified_genjyuu35_bold}"]
13631357
13641358
fontstyle_list = ["Regular", "Bold"]
@@ -1390,6 +1384,7 @@ while (i < SizeOf(input_list))
13901384
Print("Open " + input_list[i])
13911385
Open(improved_legibility_list[i])
13921386
MergeFonts(reiwa_list[i])
1387+
MergeFonts(ideographic_space)
13931388
MergeFonts(input_list[i])
13941389
SelectWorthOutputting()
13951390
UnlinkReference()
@@ -1444,18 +1439,6 @@ while (i < SizeOf(input_list))
14441439
SetWidth(width_pt)
14451440
Print("Half SetWidth end")
14461441
1447-
# Edit zenkaku space (from ballot box and heavy greek cross)
1448-
if ("${zenkaku_space_glyph}" != "0u3000")
1449-
Print("Edit zenkaku space")
1450-
if ("${zenkaku_space_glyph}" == "")
1451-
Select(0u2610); Copy(); Select(0u3000); Paste()
1452-
Select(0u271a); Copy(); Select(0u3000); PasteInto()
1453-
OverlapIntersect()
1454-
else
1455-
Select(${zenkaku_space_glyph}); Copy(); Select(0u3000); Paste()
1456-
endif
1457-
endif
1458-
14591442
# broken bar は Hack ベースにする
14601443
Select(0u00a6); Clear()
14611444

0 commit comments

Comments
 (0)