Font Substitution and Missing Text
I recently found a bug in my work-in-progress-next-major-version of Counterparts Lite where text in certain languages was not showing up in the text editor.
[…]
It is important to know however that there’s a crucial difference between changing the font in
willProcessEdtingand indidProcessEditing:
willProcessEditingis called before font substitution. Any font you set while inwillProcessEditingwill get substituted with an appropriate font for characters not available in the font you choose.
didProcessEditingis called after font substitution. If you change the font while indidProcessEditingthere will be no further font substitution, and thus you should make sure the font you set can display all the characters.