Skip to content

Commit

Permalink
Use alifTools for shaping tests
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Sep 20, 2024
1 parent 945858d commit 1f1fecf
Show file tree
Hide file tree
Showing 8 changed files with 37,443 additions and 7,992 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ ${WOFFDIR}/%.woff2: ${FONTDIR}/%.ttf

${TESTDIR}/%-shaping.html: ${FONTDIR}/%.ttf ${TESTDIR}/shaping-config.yml
$(info   SHAPE ${<F})
${PYTHON} ${SCRIPTDIR}/check-shaping.py $< ${TESTDIR}/shaping-config.yml $@
${PYTHON} -m alifTools.shaping.check $< ${TESTDIR}/shaping-config.yml $@

${TESTDIR}/decomposition.json: ${SOURCEDIR}/${NAME}.glyphspackage ${FONTS}
$(info   GEN ${@F})
${PYTHON} ${SCRIPTDIR}/update-decomposition-test.py $@ $+

${TESTDIR}/shaping.json: ${TESTDIR}/shaping.csv ${FONTS}
${TESTDIR}/shaping.json: ${TESTDIR}/shaping.yaml ${FONTS}
$(info   GEN ${@F})
${PYTHON} ${SCRIPTDIR}/update-shaping-test.py $@ $+
${PYTHON} -m alifTools.shaping.update $< $@ ${FONTS}

dist: all
$(info   DIST ${DIST}.zip)
Expand Down
1 change: 1 addition & 0 deletions requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ skia-pathops
uharfbuzz
vharfbuzz
pyyaml
alifTools @ git+https://github.com/aliftype/tools.git@e3e2ba35a6fa22721aa0a5080e24716e709b7eb6
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#
# pip-compile requirements.in
#
aliftools @ git+https://github.com/aliftype/tools.git@e3e2ba35a6fa22721aa0a5080e24716e709b7eb6
# via -r requirements.in
appdirs==1.4.4
# via fs
attrs==24.2.0
Expand All @@ -30,9 +32,10 @@ skia-pathops==0.8.0.post1
# via -r requirements.in
ufolib2==0.16.0
# via glyphslib
uharfbuzz==0.39.5
uharfbuzz==0.40.1
# via
# -r requirements.in
# aliftools
# vharfbuzz
unicodedata2==15.1.0
# via fonttools
Expand Down
Loading

0 comments on commit 1f1fecf

Please sign in to comment.