Skip to content

Commit

Permalink
featureWriters.__main__ must load font with ufoLib2.Font.open
Browse files Browse the repository at this point in the history
defcon-like Font(path) doesn't work anymore
googlefonts/fontmake#894 (comment)
  • Loading branch information
anthrotype committed Sep 30, 2022
1 parent 6c05d0c commit ac448a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/ufo2ft/featureWriters/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
try:
import ufoLib2

loader = ufoLib2.Font
loader = ufoLib2.Font.open
except ImportError:
import defcon

Expand Down

0 comments on commit ac448a8

Please sign in to comment.