tooling: generate-opsz-layers.py only makes layers for Thin masters

This commit is contained in:
Rasmus Andersson 2022-05-27 12:39:53 -07:00
parent 166cd3c360
commit e033dcd4cb

View file

@ -32,8 +32,8 @@ def process_glyph(g, axes):
# print("existing_opsz_layers %r" % existing_opsz_layers)
for master in g.parent.masters:
if master.name.startswith("Regular"):
# Regular uses dedicated master for opsz
if not master.name.startswith("Thin"):
# Only thin uses brace layers for opsz
continue
layer = g.layers[master.id]
# print("%s" % layer.name)