On 10 Mar 2013, at 15:04, Albrecht Schlosser wrote:

> On 10.03.2013 15:15, Anton Petrov wrote:
>> The problem is that in the windows operating system cyrillic text is 
>> incorrectly displaying. How it could be fixed?
> 
> We need to know which FLTK version you're using. To be able
> to render cyrillic *and* other text in *one* application you
> must use FLTK 1.3, and you must probably install the correct
> fonts, but then it just ought to work.


Yes; re-iterating what Albrecht said, with fltk-1.3, and text encoded in UTF8, 
and a suitable font selected, then it pretty much just works. Or at least, that 
is to say, I have rendered Cyrillic and Greek text in that way.

I can't actually read any languages in either of those scripts, so was only 
displaying strings I was given; I am told it worked!

If you are using an older fltk, say fltk-1.1, then you probably need to get 
into that whole codepage madness... Which of course makes your text 
non-portable.

You really want to be using UTF8 and a recent fltk-1.3 snapshot!

Also, if you have text that is encoded in some other representation (i.e. not 
UTF8) then you will need to convert it to UTF8 to get it working.
That's not something fltk can really help you with, but there are many, many 
tools out there that do that!




_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to