Created
November 8, 2023 17:18
-
-
Save rsheeter/ddbccc991297d507c1caa59edbb1ce8c to your computer and use it in GitHub Desktop.
How to ttx_diff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# starting from a directory with both fontc and oswald | |
git clone [email protected]:googlefonts/fontc.git | |
git clone [email protected]:googlefonts/OswaldFont.git | |
cd fontc | |
# establish a virtual environment | |
python3 -m venv venv | |
source venv/bin/activate | |
pip install -r resources/scripts/requirements.txt | |
# run ttx_diff on a minimal test file; at time of writing GDEF and GPOS differ | |
python resources/scripts/ttx_diff.py resources/testdata/glyphs3/Oswald-AE-comb.glyphs | |
# run ttx_diff on Oswald | |
python resources/scripts/ttx_diff.py ../OswaldFont/sources/Oswald.glyphs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment