XhmikosR / notepad2-mod

LOOKING FOR DEVELOPERS - Notepad2-mod, a Notepad2 fork, a fast and light-weight Notepad-like text editor with syntax highlighting
https://xhmikosr.github.io/notepad2-mod/
Other
1.45k stars 270 forks source link

To send font names in UTF-8 #107

Closed bluenlive closed 9 years ago

bluenlive commented 9 years ago

Scintilla 3.5.3 interpret font names in UTF-8. In previous versions, font names were sent in ANSI.

So, Styles.c should be patched to send font names in UTF-8.

bluenlive commented 9 years ago

I've chosen Goong-seo font. Maybe you can see the difference.

1

In r940, even if I choose Goong-seo font, system default font is shown.

2 wrong (Not Goong-seo font, it's Gulim font, old and ugly system default font)

Applying patch, we can see Goong-seo font correctly.

3 patched

XhmikosR commented 9 years ago

What baffles me is if the WideCharToMultiByte is needed now at all...