mirror of
https://github.com/rsms/inter.git
synced 2024-09-11 10:55:24 +03:00
tooling: generate-opsz-layers.py only makes layers for Thin masters
This commit is contained in:
parent
166cd3c360
commit
e033dcd4cb
@ -32,8 +32,8 @@ def process_glyph(g, axes):
|
|||||||
# print("existing_opsz_layers %r" % existing_opsz_layers)
|
# print("existing_opsz_layers %r" % existing_opsz_layers)
|
||||||
|
|
||||||
for master in g.parent.masters:
|
for master in g.parent.masters:
|
||||||
if master.name.startswith("Regular"):
|
if not master.name.startswith("Thin"):
|
||||||
# Regular uses dedicated master for opsz
|
# Only thin uses brace layers for opsz
|
||||||
continue
|
continue
|
||||||
layer = g.layers[master.id]
|
layer = g.layers[master.id]
|
||||||
# print("%s" % layer.name)
|
# print("%s" % layer.name)
|
||||||
|
Loading…
Reference in New Issue
Block a user