Skip to content

Commit

Permalink
2024/04/16#6
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-212 committed Apr 16, 2024
1 parent ac4c14d commit 8e4bd80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ build: build.stamp

build.stamp: init.stamp
fontmake -g "src/NeoHanSans-Variable.glyphspackage" -o variable --output-path "fonts/variable/NeoHanSansSC[wght].ttf"
fontmake -g "src/NeoHanSans-Variable.glyphspackage" -o variable-cff2 --output-path "fonts/variable/NeoHanSansSC[wght].otf"
# fontmake -g "src/NeoHanSans-Variable.glyphspackage" -o variable-cff2 --output-path "fonts/variable/NeoHanSansSC[wght].otf"
python scripts/stat.py
touch build.stamp

Expand Down
8 changes: 4 additions & 4 deletions scripts/stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
builder.buildStatTable(ttfont, axes)
ttfont.save(ttpath)

otpath = "fonts/variable/NeoHanSansSC[wght].otf"
otfont = TTFont(otpath)
builder.buildStatTable(otfont, axes)
otfont.save(otpath)
# otpath = "fonts/variable/NeoHanSansSC[wght].otf"
# otfont = TTFont(otpath)
# builder.buildStatTable(otfont, axes)
# otfont.save(otpath)

0 comments on commit 8e4bd80

Please sign in to comment.