-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (30 loc) · 1.75 KB
/
Makefile
File metadata and controls
33 lines (30 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
all: fonts/NoNameFixed-Regular.ttf fonts/NoNameFixedTerminal-Regular.ttf
export SOURCE_DATE_EPOCH=$(shell stat -c "%Y" sources/NoNameFixed.glyphspackage)
fonts/NoNameFixed-Regular.ttf: sources/NoNameFixed.glyphspackage
@echo " MAKE $@"
@fontmake -g $< \
--output=ttf \
--output-path=$@ \
--verbose=WARNING \
--overlaps-backend=pathops
fonts/NoNameFixedTerminal-Regular.ttf: sources/NoNameFixed.glyphspackage
@echo " MAKE $@"
@fontmake -g $< \
--interpolate=".* Terminal Regular" \
--output=ttf \
--output-path=$@ \
--verbose=WARNING \
--overlaps-backend=pathops \
--master-dir="{tmp}" \
--instance-dir="{tmp}" \
--no-generate-GDEF
@fonttools subset \
--unicodes='*' \
--name-IDs='*' \
--notdef-outline \
--drop-tables+=GDEF,GSUB,GPOS \
--recalc-bounds \
--recalc-max-context \
--recalc-average-width \
--output-file=$@.s $@
@mv $@.s $@