Added Makefile
parent
1f20683a5c
commit
bdd455b5f2
|
@ -1,7 +1,4 @@
|
|||
assets/
|
||||
**/__pycache__/
|
||||
KawaiiMonoRegularPatched.ttf
|
||||
KawaiiMonoRegularPatched.otf
|
||||
KawaiiMonoRegularPatched.woff
|
||||
KawaiiMonoRegularPatched.eot
|
||||
out/
|
||||
src/wget/__pycache__/
|
|
@ -0,0 +1,6 @@
|
|||
build:
|
||||
python3 build.py
|
||||
py3clean .
|
||||
|
||||
install: build
|
||||
cp out/KawaiiMonoRegularPatched.ttf ~/.local/share/fonts/KawaiiMonoRegular.ttf
|
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/bash
|
||||
python3 build.py
|
||||
cp kawaiiPatched.ttf ~/.local/share/fonts/KawaiiMonoRegular.ttf
|
|
@ -1,4 +1,5 @@
|
|||
import fontforge
|
||||
import os
|
||||
|
||||
from . import NanumSquareNeo as NanumSquareNeoLoader
|
||||
from . import NotoMono as NotoMonoLoader
|
||||
|
@ -37,7 +38,13 @@ def build(config=None):
|
|||
notoMono.close()
|
||||
|
||||
# 생성
|
||||
kawaii.generate("kawaiiPatched.ttf")
|
||||
if not os.path.exists("out"): os.mkdir("out")
|
||||
kawaii.generate("out/"+"KawaiiMonoRegularPatched.ttf")
|
||||
|
||||
# KawaiiMonoRegularPatched.ttf
|
||||
# KawaiiMonoRegularPatched.otf
|
||||
# KawaiiMonoRegularPatched.woff
|
||||
# KawaiiMonoRegularPatched.eot
|
||||
|
||||
# 파일 닫기
|
||||
kawaii.close()
|
||||
|
|
Loading…
Reference in New Issue