In a text window, I want to get the glyphs that have been substituted but not the inputted text? As in the glyphs after OT feature substitution has been applied.
Font = Glyphs.font
Doc = Glyphs.currentDocument
TextStorage = Doc.windowController().activeEditViewController().graphicView().textStorage()
print TextStorage.text()
Returns the inputted text