diff options
author | Rasmus Andersson <rasmus@notion.se> | 2022-09-19 01:03:05 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2022-09-29 21:51:22 +0300 |
commit | 590b773add2963d241db7a0bc0726bbfb066371d (patch) | |
tree | def5dc1349750b4f54e6793140d7a576879bc287 | |
parent | 0e7d2c5a833a0dd41aed9ea7df4f1ae65ab5b0ff (diff) | |
download | inter-590b773add2963d241db7a0bc0726bbfb066371d.tar.xz |
use ttfautohint with python -m instead of by path to script. Closes #470
-rw-r--r-- | Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -113,8 +113,7 @@ $(FONTDIR)/static/%.ttf: $(UFODIR)/%.ufo | $(FONTDIR)/static venv --overlaps-backend pathops --production-names $(FONTDIR)/static-hinted/%.ttf: $(FONTDIR)/static/%.ttf | $(FONTDIR)/static-hinted venv - . $(VENV) ; python $(PWD)/build/venv/lib/python/site-packages/ttfautohint \ - --no-info "$<" "$@" + . $(VENV) ; python -m ttfautohint --no-info "$<" "$@" $(FONTDIR)/var/Inter-V.var.ttf: $(FONTDIR)/var/Inter.var.ttf venv . $(VENV) ; python misc/tools/rename.py --family "Inter V" -o $@ $< @@ -456,8 +455,6 @@ build/venv/config.stamp: requirements.txt @mkdir -p build test -d build/venv || python3 -m venv build/venv . $(VENV) ; pip install -Ur requirements.txt - rm -f build/venv/lib/python - ln -sf $$(basename $$(readlink build/venv/bin/python)) build/venv/lib/python touch $@ reset: clean |