Is "Courier New Cyr" really a font? On my machine "Courier New CYR" is
listed in Visual Studio as a font but not in any of the other applications
I
looked at. The "Courier New" font includes Cyrillic characters but, because
this is a Unicode font and the Cyrillic characters start at 0x400 this will
only work in the Unicode mode of Scintilla 1.25.
I think that this has nothing to do with Unicode, as it works in wxPython.
So maybe there should be CHARSET parameter in order this to work.
Niki Spahiev
e-mail: niki@vintech.bg
···
"Neil Hodgson" <neilh@scintilla.org> wrote:
____________________________________________________________________
Get free email and a permanent address at Net@ddress Mail
> Is "Courier New Cyr" really a font? On my machine "Courier New CYR"
is
> listed in Visual Studio as a font but not in any of the other
applications
I
> looked at. The "Courier New" font includes Cyrillic characters but,
because
> this is a Unicode font and the Cyrillic characters start at 0x400 this
will
> only work in the Unicode mode of Scintilla 1.25.
>
I think that this has nothing to do with Unicode, as it works in wxPython.
So maybe there should be CHARSET parameter in order this to work.
OK, I understand now. The character set doesn't just choose a font, it
decides how to map character codes to glyphs. Therefore Scintilla needs a
CHARSET parameter and I'll put it in the next version after 1.25 as 1.25
should be released very soon.
This should work cross-platform so I'm wondering how to provide this to
Scintilla. Maybe a set of SC_CHARSET_* constants based on the choices
available on Windows and a similar mapping on X.
This should work cross-platform so I'm wondering how to provide this to
Scintilla. Maybe a set of SC_CHARSET_* constants based on the choices
available on Windows and a similar mapping on X.
Neil, you might be able to get some ideas on how to handle it by looking at
how wxWindows does it. I don't know much about it muself, but I know that
Vadim spent a lot of time working out how to get both platforms compatible.