Added Makefile
parent
1f20683a5c
commit
bdd455b5f2
|
@ -1,7 +1,4 @@
|
||||||
assets/
|
assets/
|
||||||
**/__pycache__/
|
**/__pycache__/
|
||||||
KawaiiMonoRegularPatched.ttf
|
out/
|
||||||
KawaiiMonoRegularPatched.otf
|
|
||||||
KawaiiMonoRegularPatched.woff
|
|
||||||
KawaiiMonoRegularPatched.eot
|
|
||||||
src/wget/__pycache__/
|
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 fontforge
|
||||||
|
import os
|
||||||
|
|
||||||
from . import NanumSquareNeo as NanumSquareNeoLoader
|
from . import NanumSquareNeo as NanumSquareNeoLoader
|
||||||
from . import NotoMono as NotoMonoLoader
|
from . import NotoMono as NotoMonoLoader
|
||||||
|
@ -37,7 +38,13 @@ def build(config=None):
|
||||||
notoMono.close()
|
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()
|
kawaii.close()
|
||||||
|
|
Loading…
Reference in New Issue