Skip to content

Commit

Permalink
Compile aux fields
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens authored and behdad committed Mar 19, 2024
1 parent ac7e55b commit 430e364
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/fontTools/ttLib/tables/otConverters.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ def __init__(self, name, repeat, aux, tableClass=None, *, description=""):
self.name = name
self.repeat = repeat
self.aux = aux
if self.aux and not self.repeat:
self.aux = compile(self.aux, "<string>", "eval")
self.tableClass = tableClass
self.isCount = name.endswith("Count") or name in [
"DesignAxisRecordSize",
Expand Down

0 comments on commit 430e364

Please sign in to comment.