Hello ...
I've created a rich-text NSTextView that I load with plain text from a file (and then manipulate: setting foreground colors and such for different characters).
Two files contain the word "flask". Loading the first file into the NSTextView renders the character pair "fl" as a single-character ligature; loading the other renders the pair as "f" and "l" ... which is what I want.
How can I get the text view to stop with the ligatures and just load the text as-is?
I've tried programmatically selecting all of the text and then using the
"turnOffLigatures" method, but that doesn't work.
I suppose I could read the text file into a string and append each character to the text view one by one, but this terribly inefficient (especially for long files).
Pointers?
Thanks and regards,
DayLateDon