Hello, I had written a very simply filter to run on export which decomposes transformed compmonents (for TT exports).
The code is as simple as this:
for component in layer.components:
if component.transform[:4] != (1, 0, 0, 1):
layer.decomposeComponents()
break
To my horror, I found that the filter decomposes a lot more glyphs than it should. It decomposes basically everything.
However, when I run the code from the macro window, it doesn’t.
For example, adieresis (no transformed components) gets decomposed when I run the filter (wrong behaviour), but it doesn’t get decomposed when I run the code from the macro window (correct behaviour).
What is going on? How can I fix this? Thanks!
EDIT: My sincerest apologies. I hadn’t loaded the latest version of my filter, as it wasn’t in the plugin folder as an alias. Everything works fine and as expected.