pass --windows-compatibility to ttfautohint in hopes of better aliased fitting on MS Windows, re #580

This commit is contained in:
Rasmus Andersson 2023-06-07 10:09:39 -07:00
parent e11ab3a9a7
commit 92a48adaea

View file

@ -177,7 +177,11 @@ $(FONTDIR)/static/%.ttf: $(UFODIR)/%.ufo build/features_data | $(FONTDIR)/static
$(FONTDIR)/static-hinted/%.ttf: $(FONTDIR)/static/%.ttf | $(FONTDIR)/static/Inter-Regular.ttf $(FONTDIR)/static-hinted venv
. $(VENV) ; python -m ttfautohint --reference $(FONTDIR)/static/Inter-Regular.ttf --no-info "$<" "$@"
. $(VENV) ; python -m ttfautohint \
--windows-compatibility \
--reference $(FONTDIR)/static/Inter-Regular.ttf \
--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)