Skip to content

Commit

Permalink
[Update] ㇵテハラのグリフを調整
Browse files Browse the repository at this point in the history
  • Loading branch information
omonomo committed Nov 9, 2023
1 parent 018258f commit a04cf11
Showing 1 changed file with 149 additions and 2 deletions.
151 changes: 149 additions & 2 deletions font_generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -3750,28 +3805,77 @@ while (i < SizeOf(input_list))
Select(65553); Clear() # Temporary glyph
# ハ (左のはらいを少し下に移動)
# 左
Select(0u25a0); Copy() # Black square
Select(65552); Paste() # Temporary glyph
Move(-350, 0)
Scale(100, 150)
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)
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
Expand Down Expand Up @@ -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")
# ゔ
Expand Down

0 comments on commit a04cf11

Please sign in to comment.