mirror of
https://github.com/rsms/inter.git
synced 2024-11-17 07:47:33 +01:00
tooling: pass --no-autohint to fontmake to ensure no time is wasted on autohinting
This commit is contained in:
parent
b50c358358
commit
5f12e203cb
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -152,7 +152,8 @@ build/ufo-editable/.ok: build/ufo-editable/Inter-Roman.designspace build/ufo-edi
|
|||
# arguments to fontmake
|
||||
FM_ARGS_2 := $(FM_ARGS) \
|
||||
--overlaps-backend pathops \
|
||||
--flatten-components
|
||||
--flatten-components \
|
||||
--no-autohint
|
||||
ifndef DEBUG
|
||||
FM_ARGS_2 += --production-names
|
||||
else
|
||||
|
@ -178,15 +179,18 @@ $(FONTDIR)/static/%.ttf: $(UFODIR)/%.ufo build/features_data | $(FONTDIR)/static
|
|||
$(FONTDIR)/static-hinted/%.ttf: $(FONTDIR)/static/%.ttf | $(FONTDIR)/static-hinted venv
|
||||
. $(VENV) ; python -m ttfautohint --no-info "$<" "$@"
|
||||
|
||||
|
||||
$(FONTDIR)/var/_%.var.ttf: $(UFODIR)/%.var.designspace build/features_data | $(FONTDIR)/var venv
|
||||
. $(VENV) ; fontmake -o variable -m $< --output-path $@ $(FM_ARGS_2)
|
||||
|
||||
$(FONTDIR)/var/_%.var.otf: $(UFODIR)/%.var.designspace build/features_data | $(FONTDIR)/var venv
|
||||
. $(VENV) ; fontmake -o variable-cff2 -m $< --output-path $@ $(FM_ARGS_2)
|
||||
|
||||
|
||||
%.woff2: %.ttf | venv
|
||||
. $(VENV) ; misc/tools/woff2 compress -o "$@" "$<"
|
||||
|
||||
|
||||
$(FONTDIR)/static:
|
||||
mkdir -p $@
|
||||
$(FONTDIR)/static-hinted:
|
||||
|
|
Loading…
Reference in a new issue