summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2022-05-27 22:39:53 +0300
committerRasmus Andersson <rasmus@notion.se>2022-05-27 22:39:53 +0300
commite033dcd4cb6faef553843b53b881da154cbb3a87 (patch)
treea11125c8e55c878bc26096ce29d226786f36e55c /misc
parent166cd3c360bf5a7d36cdc210fc2bd60b49fb8906 (diff)
downloadinter-e033dcd4cb6faef553843b53b881da154cbb3a87.tar.xz
tooling: generate-opsz-layers.py only makes layers for Thin masters
Diffstat (limited to 'misc')
-rw-r--r--misc/glyphs-scripts/generate-opsz-layers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/glyphs-scripts/generate-opsz-layers.py b/misc/glyphs-scripts/generate-opsz-layers.py
index 11a57a8ef..c1c72dbce 100644
--- a/misc/glyphs-scripts/generate-opsz-layers.py
+++ b/misc/glyphs-scripts/generate-opsz-layers.py
@@ -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)