> 1 - Does FLTK supports Russian language?

That depends:

There are three possible cases. Russian is relatively straightforward
however, since is coded LtoR like a Latin alphabet (e.g. ASCII) so is
much less tricky than a Semitic alphabet (Hebrew, Arabic) for example.

i) Using fltk-1.1.9

This will display the Cyrillic glyphs, IF the correct "code page" is set
on the target machine, AND a font is loaded that correctly supports the
selected "code page". 

However, it is hard to ensure that the correct "code page" is set, and
there isn't a really a portable way to ensure that the correct code page
and font are selected at runtime for your app.

So, it may work perfectly on your machine, but then display all the
wrong glyphs when run on some other machine... Which is exactly why we
have Unicode. Which brings us to:

ii) Use a patched version of fltk-1.1.x that knows about Unicode
(encoded as UTF-8) and load a Unicode font that supports the Cyrillic
glyphs. Many fonts have names like "something-LGC.ttf" for example,
where the LGC means that the font has support for the Latin, Greek and
Cyrillic Unicode pages. (Very few Unicode fonts are "pan-fonts", i.e.
including all the Unicode font pages, because they become huge...)

My patched version of fltk-1.1.8 is at:

http://www.9edgedown.talktalk.net/fltk/fltk118-utf8-2008-02-24.tar.bz2

There are others out there, Google will probably find something.

I don't have a patched version of fltk-1.1.9, but the plan is for UTF-8
support to be built into fltk-1.3 in the near future.

iii) Use fltk-2. It has some small stability issues, but is already
UTF-8 aware, and so should "Just Work" for you.


> 2 - Is it posible in FLTK to fill round rect with a pattern?

Not sure what you are asking here...?

> 3 - Is it possible to make round button in FLTK?

You can very easily subclass your own button widget and draw pretty much
anything you like, so yes, this should be easy, if the built-in round
button types are not to your taste.

Another option is to use a pixel map image for your button, that can be
look like any shape you like. Greg has a worked example here that might
help:

http://www.seriss.com/people/erco/fltk/Fl_Gel_Tabs/

And my take on Greg's example is here:

http://www.9edgedown.talktalk.net/gel_buttons.html









SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to