WOFF builder

This commit is contained in:
minjaesong
2026-03-02 12:35:50 +09:00
parent cce9d62bd1
commit db327d8357
7 changed files with 37 additions and 7 deletions

19
OTFbuild/Makefile Normal file
View File

@@ -0,0 +1,19 @@
PYTHON ?= python3
ASSETS ?= ../src/assets
OTF = TerrarumSansBitmap.otf
WOFF2 = TerrarumSansBitmap.woff2
all: $(OTF) $(WOFF2)
$(OTF): $(wildcard $(ASSETS)/*.tga) build_font.py font_builder.py glyph_parser.py \
bitmap_tracer.py tga_reader.py keming_machine.py hangul.py sheet_config.py \
opentype_features.py
$(PYTHON) build_font.py $(ASSETS) -o $@
$(WOFF2): $(OTF) otf2woff2.py
$(PYTHON) otf2woff2.py $< $@
clean:
rm -f $(OTF) $(WOFF2)
.PHONY: all clean