|
@@ -2,7 +2,7 @@ SIZES = 25 50 100 200
|
|
|
IMGS = max80.svg
|
|
|
REDUCE = -colors 4
|
|
|
|
|
|
-all:
|
|
|
+all: Prisma-MAX.woff2
|
|
|
for f in $(SIZES); do $(MAKE) SIZE=$$f imgs; done
|
|
|
|
|
|
imgs: $(patsubst %.svg,%-$(SIZE).png,$(IMGS))
|
|
@@ -12,8 +12,14 @@ imgs: $(patsubst %.svg,%-$(SIZE).png,$(IMGS))
|
|
|
$(REDUCE) -auto-level \
|
|
|
-negate -alpha copy -negate $@
|
|
|
|
|
|
+Prisma-MAX.woff2: Prisma.otf
|
|
|
+ pyftsubset $< --output-file=$@ --text='MAX' \
|
|
|
+ --desubroutinize --flavor=woff2 --recalc-bounds
|
|
|
+
|
|
|
+
|
|
|
clean:
|
|
|
for f in $(patsubst %.svg,%,$(IMGS)); do rm -f "$$f"-*.png; done
|
|
|
+ rm -f Prisma-MAX.woff2
|
|
|
|
|
|
spotless: clean
|
|
|
|