Hello,
We are currently experiencing a lot of errors with our processes involving the metrics.
font = Glyphs.font
for master in font.masters:
for metric in master.metrics:
print(metric)
This used to work just fine, now it gives:
Traceback (most recent call last):
File "<macro panel>", line 6
TypeError: 'objc.native_selector' object is not iterable
Taking this from the documentation:
Font = Glyphs.font
for metric in Font.masters[0].metrics:
if metric.metric.type == GSMetricsTypexHeight and metric.metric.filter is None:
metric.position = 543
metric.overshoot = 17
gives us this:
Traceback (most recent call last):
File "<macro panel>", line 5
TypeError: 'objc.native_selector' object is not iterable
The changelog for 3232 states:
improve
GSFontMaster.metricValues
in python wrapper
Unfortunately we couldn’t find any more information on how things were improved and it leads all our scripts and plugins to crash.
Any advice what we can do on our side except downgrade Glyphs again?