Add rounding

master
Qwreey 2023-03-17 03:58:27 +09:00
parent 0437240394
commit c74f266a43
No known key found for this signature in database
GPG Key ID: 01D9B192033CF43F
1 changed files with 8 additions and 1 deletions

View File

@ -98,8 +98,15 @@ def build(weightStr="Regular",config=None):
deselectOriginalGlyphs = deselectOriginalGlyphs) deselectOriginalGlyphs = deselectOriginalGlyphs)
updateOriginalGlyphs() updateOriginalGlyphs()
# 반올림
print("Position Rounding . . .",end="",flush=True)
kawaii.selection.all()
kawaii.round()
kawaii.selection.none()
print(" [OK]")
# 생성 # 생성
print("Saving",end="",flush=True) print("Saving . . .",end="",flush=True)
if not os.path.exists("out"): os.mkdir("out") if not os.path.exists("out"): os.mkdir("out")
kawaii.generate("out/"+"KawaiiMonoRegularPatched.ttf") kawaii.generate("out/"+"KawaiiMonoRegularPatched.ttf")
print(" [OK]") print(" [OK]")