I'm working with a student on some experimental font designs and learning to code Opentype features.
http://ilovetypography.com/OpenType/opentype-features.html
http://forums.adobe.com/thread/395648
While these two links were invaluable, we've got a simple snippet of code that is confusing when trying to sub many to one. The thinking was to swap out certain typed words with a single "word" glyph using more efficient coding than the letter at a time method Thomas described in his link.
feature calt {
sub t' e' s' t' by test.word;
} calt;
The code below usually works fine except in the case that the word is immediately repeated. Then it appears to "oscillate" and only substitutes every other sequence of letters. Note that this happens whether a space is used or not to separate the repeating letter sequence. Our question is Why?
