diff --git a/src/build/KawaiiMono.py b/src/build/KawaiiMono.py index c413024..54d7099 100644 --- a/src/build/KawaiiMono.py +++ b/src/build/KawaiiMono.py @@ -1,2 +1,3 @@ -def getFontPath(weightStr): +def getFontPath(weightStr="weightStr"): if weightStr == "Regular": return "KawaiiMonoRegular.sfd" + return "KawaiiMonoRegular.sfd" diff --git a/src/build/NerdFonts/nerdfonts.py b/src/build/NerdFonts/nerdfonts.py index 06a9eb3..3097bcb 100644 --- a/src/build/NerdFonts/nerdfonts.py +++ b/src/build/NerdFonts/nerdfonts.py @@ -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]") diff --git a/src/build/build.py b/src/build/build.py index 3b456d5..46b7095 100644 --- a/src/build/build.py +++ b/src/build/build.py @@ -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))