freemix-glyphsapp
freemix-glyphsapp copied to clipboard
Toggle Backup Layer does not work properly when OT features are active
Seems that currentTab.layers.values() returns the underlying text.
the you can use currentTab.composedLayers
Thanks, very helpful!
I just updated the script: https://github.com/justanotherfoundry/freemix-glyphsapp/commit/80dec6116812175cba306ff0ed2339c8ee196618
However, the script now relies on currentTab.composedLayers
and currentTab.layers
having the same length and order. If we have a ligature substitution then simply using the same index to find matching raw text and composed layers does not work. @schriftgestalt Do you have an idea how to find the matching layers more reliably?