From a04cf11de087c72fad329589215cf3215d04c016 Mon Sep 17 00:00:00 2001 From: omonomo Date: Thu, 9 Nov 2023 21:44:01 +0900 Subject: [PATCH] =?UTF-8?q?[Update]=20=E3=87=B5=EF=BE=83=EF=BE=8A=EF=BE=97?= =?UTF-8?q?=E3=81=AE=E3=82=B0=E3=83=AA=E3=83=95=E3=82=92=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- font_generator.sh | 151 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 149 insertions(+), 2 deletions(-) diff --git a/font_generator.sh b/font_generator.sh index 177d95ac..ce05f18a 100755 --- a/font_generator.sh +++ b/font_generator.sh @@ -3693,6 +3693,61 @@ while (i < SizeOf(input_list)) Select(65552); Clear() # Temporary glyph Select(65553); Clear() # Temporary glyph +# テ (Tの横棒を少し上に移動) + # Tの横棒 + Select(0u25a0); Copy() # Black square + Select(65552); Paste() # Temporary glyph + Scale(130, 20) + if (input_list[i] == "${input_kana_regular}") + Move(-210, 86) + else + Move(-210, 55) + endif + Select(0uff83); Copy() # テ + Select(65552); PasteInto() + OverlapIntersect() + + # その他 + Select(0u25a0); Copy() # Black square + Select(65553); Paste() # Temporary glyph + Move(-250, 500) + if (input_list[i] == "${input_kana_regular}") + PasteWithOffset(-410, -313) + PasteWithOffset( 88, -200) + else + PasteWithOffset(-410, -344) + PasteWithOffset( 65, -200) + endif + RemoveOverlap() + Copy() + Select(0uff83); PasteInto() # テ + OverlapIntersect() + + Select(0u25a0); Copy() # Black square + Select(65553); Paste() # Temporary glyph + Move(-250, 500) + if (input_list[i] == "${input_kana_regular}") + PasteWithOffset(-512, -200) + else + PasteWithOffset(-494, -200) + endif + RemoveOverlap() + Copy() + Select(0uff83); PasteInto() # テ + OverlapIntersect() + # 合成 + Select(65552); Copy() + Select(0uff83) # テ + PasteWithOffset(0, 20) + + SetWidth(500) + RemoveOverlap() + Simplify() + RoundToInt() + + Select(65552); Clear() # Temporary glyph + Select(65553); Clear() # Temporary glyph + # デ (Tの横棒を少し上に移動) # Tの横棒 Select(0u25a0); Copy() # Black square @@ -3750,6 +3805,7 @@ while (i < SizeOf(input_list)) Select(65553); Clear() # Temporary glyph # ハ (左のはらいを少し下に移動) + # 左 Select(0u25a0); Copy() # Black square Select(65552); Paste() # Temporary glyph Move(-350, 0) @@ -3757,14 +3813,14 @@ while (i < SizeOf(input_list)) Select(0u30cf); Copy() # ハ Select(65552); PasteInto() # Temporary glyph OverlapIntersect() - + # 右 Select(0u25a0); Copy() # Black square Select(65553); Paste() # Temporary glyph Scale(100, 150) Copy() Select(0u30cf); PasteWithOffset(350, 0) # ハ OverlapIntersect() - + # 合成 Select(65552); Copy() # Temporary glyph Select(0u30cf); PasteWithOffset(0, -10) # ハ SetWidth(1000) @@ -3772,6 +3828,54 @@ while (i < SizeOf(input_list)) Select(65552); Clear() # Temporary glyph Select(65553); Clear() # Temporary glyph +# ㇵ (左のはらいを少し下に移動) + # 左 + Select(0u25a0); Copy() # Black square + Select(65552); Paste() # Temporary glyph + Move(-350, 0) + Scale(100, 150) + Select(0u31f5); Copy() # ㇵ + Select(65552); PasteInto() # Temporary glyph + OverlapIntersect() + # 右 + Select(0u25a0); Copy() # Black square + Select(65553); Paste() # Temporary glyph + Scale(100, 150) + Copy() + Select(0u31f5); PasteWithOffset(350, 0) # ㇵ + OverlapIntersect() + # 合成 + Select(65552); Copy() # Temporary glyph + Select(0u31f5); PasteWithOffset(0, -7) # ㇵ + SetWidth(1000) + + Select(65552); Clear() # Temporary glyph + Select(65553); Clear() # Temporary glyph + +# ハ (左のはらいを少し下に移動) + # 左 + Select(0u25a0); Copy() # Black square + Select(65552); Paste() # Temporary glyph + Move(-560, 0) + Scale(100, 150) + Select(0uff8a); Copy() # ハ + Select(65552); PasteInto() # Temporary glyph + OverlapIntersect() + # 右 + Select(0u25a0); Copy() # Black square + Select(65553); Paste() # Temporary glyph + Scale(100, 150) + Copy() + Select(0uff8a); PasteWithOffset(110, 0) # ハ + OverlapIntersect() + # 合成 + Select(65552); Copy() # Temporary glyph + Select(0uff8a); PasteWithOffset(0, -10) # ハ + SetWidth(500) + + Select(65552); Clear() # Temporary glyph + Select(65553); Clear() # Temporary glyph + # ラ (フの横棒を少し上に移動) # フの横棒 Select(0u25a0); Copy() # Black square @@ -3833,6 +3937,49 @@ while (i < SizeOf(input_list)) Select(65552); Clear() # Temporary glyph Select(65553); Clear() # Temporary glyph +# ラ (フの横棒を少し上に移動) + # フの横棒 + Select(0u25a0); Copy() # Black square + Select(65552); Paste() # Temporary glyph + Scale(130, 20) + if (input_list[i] == "${input_kana_regular}") + Move(-210, 100) + else + Move(-210, 64) + endif + Select(0uff97); Copy() # ラ + Select(65552); PasteInto() + OverlapIntersect() + + # その他 + Select(0u25a0); Copy() # Black square + Select(65553); Paste() # Temporary glyph + Move(-250, 500) + if (input_list[i] == "${input_kana_regular}") + PasteWithOffset(-260, -299) + PasteWithOffset( 214, -200) + else + PasteWithOffset(-310, -334) + PasteWithOffset( 168, -200) + endif + RemoveOverlap() + Copy() + Select(0uff97); PasteInto() # ラ + OverlapIntersect() + + # 合成 + Select(65552); Copy() + Select(0uff97) # ラ + PasteWithOffset(0, 20) + + SetWidth(500) + RemoveOverlap() + Simplify() + RoundToInt() + + Select(65552); Clear() # Temporary glyph + Select(65553); Clear() # Temporary glyph + # 仮名の濁点を拡大移動、半濁点を移動 Print("Edit kana voiced sound mark") # ゔ