PavelTorgashov / FastColoredTextBox

Fast Colored TextBox for Syntax Highlighting. The text editor component for .NET.
Other
1.22k stars 465 forks source link

Unicode charWidth (Overlapped) #177

Closed jujinkim closed 4 years ago

jujinkim commented 5 years ago

Hi.

Thanks for developing this fast component.

I've found an issue: When the textbox is trying to print wide-width character such as Korean or Chinese (maybe most of unicode character), these wide-width characters are overlapped because "CharWidth" variable is fixed and fit to only alphabet.

A similar issue was mentioned a couple of year ago, but it seems not fixed yet. (somebody trying to fix this issue by fork this repo, but maybe pull request was not accepted..)

Would you mind checking this issue?

PavelTorgashov commented 4 years ago

Nature of component requires fixed width for chars. So I can not fix it. You can make character wider, but in this case other characters (not wide-width) will wide too.

lee-jiwan commented 4 years ago

@PavelTorgashov So how about making a separate version of Korean or Chinese?