Adjust prints

master
Qwreey 2023-03-17 04:01:57 +09:00
parent c74f266a43
commit c6c93b08a3
No known key found for this signature in database
GPG Key ID: 01D9B192033CF43F
3 changed files with 4 additions and 3 deletions

View File

@ -1,2 +1,3 @@
def getFontPath(weightStr):
def getFontPath(weightStr="weightStr"):
if weightStr == "Regular": return "KawaiiMonoRegular.sfd"
return "KawaiiMonoRegular.sfd"

View File

@ -98,4 +98,4 @@ def build(target,deselectOriginalGlyphs,NerdFontsAdjust=True,baseSize=550,weight
if NerdFontsAdjust:
print(" Adjusting size . . .",end="",flush=True)
postScript(target,deselectOriginalGlyphs,baseSize)
print(" [OK]")
print(" [OK]")

View File

@ -9,7 +9,7 @@ from . import KawaiiMono as KawaiiMonoLoader
deselectFlags = ("less","unicode")
def build(weightStr="Regular",config=None):
def build(config=None,weightStr="Regular"):
# 메인 폰트 불러오기 / 에셋 다운로드
kawaii = fontforge.open(
KawaiiMonoLoader.getFontPath(weightStr=weightStr))