Open chengguangnan opened 10 years ago
Yeah this is an important thing to fix. If the file contains non-ASCII characters we need to take the slow path for glyph generation like we do for non-Menlo fonts. I don't know why I didn't think of that before, actually.
The hard bit is figuring out how to keep that information up to date. Maybe put it in CHLineMarker
or something
What I typed is "一二三" (means 1, 2, 3).
It shows up correctly if I append an Enter
Basically, it mess up if you try to add or edit some Chinese.
Here is one more example, what I entered is "百" (sounds "bai"
But while selected the character "百",it becomes something else!
Now if I enter something else, it will be displayed as "百" again.