Skip to content

Commit

Permalink
Stop building features for now
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Mar 14, 2024
1 parent e379e2c commit 72b40ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/babelfont/convertors/truetype.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,12 +289,12 @@ def do_a_glyph(g):
fb.setupGvar(variations)
fb.setupAvar(f.axes)
# Move glyph categories to fontfeatures
if f.features:
for g in f.glyphs.values():
if g.exported:
f.features.glyphclasses[g.name] = g.category
# if f.features:
# for g in f.glyphs.values():
# if g.exported:
# f.features.classes[g.name] = g.category

build_all_features(f, fb.font)
# build_all_features(f, fb.font)
fb.setupPost()

for otvalue in f.customOpenTypeValues:
Expand Down

0 comments on commit 72b40ee

Please sign in to comment.