I have a script to replace selected glyphs with a kerning context for each glyph, the script is supposed to replace all the text in the tab. It works for everything except fractions, the behaviour is strange when there’s fraction, it’s like it doesn’t get the full range of text.
I made a simplified version here:
Result if I selected
abc
in a tab that only had abc
and ran it:
abc
ddabonn
ddbbonn
ddcbonn
Result if I selected
/zero.numr/one.numr/two.numr/three.numr/four.numr/five.numr/six.numr/seven.numr/eight.numr/nine.numr
in a tab that only contained this text:
/zero.numr/one.numr/two.numr/three.numr/four.numr/five.numr/six.numr/seven.numr/eight.numr/nine.numr
dd/zero.numr bonn
dd/one.numr bonn
dd/two.numr bonn
dd/three.numr bonn
dd/four.numr bonn
dd/five.numr bonn
dd/six.numr bonn
dd/seven.numr bonn
dd/eight.numr bonn
dd/nine.numr bonn
/five.numr/six.numr/seven.numr/eight.numr/nine.numr
It keeps the last 5 strings from the selected string for some reason?