Sir,

Have you read my earlier posts in answer to your questions?
Have these posts helped you?

http://www.fltk.org/newsgroups.php?gfltk.general+v:23287
http://www.fltk.org/newsgroups.php?gfltk.general+v:23288
http://www.fltk.org/newsgroups.php?gfltk.general+v:23357


> I am using fltk 1.1.6 utf8 & now I am able ton display 
> Bengali.

Good, that is a start, although I still think you would be better with
one of the more recent fltk-1.1.8 forks, or possibly with fltk-2.

> Can someone tell me where should I have to write 
> programs to handle typographical display like conjunct 
> charecters.

All fltk can do is display the Unicode character glyphs. The variant
characters and conjuncts etc., that you need are all encoded in the
Unicode character set, so fltk can display them, but you need to provide
a means to transliterate from the basic character representation of the
text, into the variant character typographically correct layout for
display.

Fltk provides no means to handle typographical issues such as conjunct
characters etc. For that you will need to build a "CTL engine" (Complex
Text Layout engine) to apply the typographical rules of your language to
the stream of characters that need to be displayed.

So you need to provide a mechanism for reading the Unicode character
sequence (in utf-8 as used by fltk, or what ever Unicode representation
format is best for you) and then your program needs to look for
typographically significant sequences, conjuncts, etc., and output a
modified utf-8 sequence that represents the glyphs for the variant
characters etc. This is the job of the "CTL engine".

This is a difficult task. I do not think anyone has undertaken this task
for Bengali languages using fltk, so you are breaking exciting new
ground here. It is unlikely anyone will have relevant prior experience
to help you.

For the gtk toolkit, the CTL engine is provided by PanGo. In principle,
it might be possible to get PanGo to build without gtk and use it with
fltk to do the CTL for your task. I have not done this - it might be
very hard indeed, or perhaps impossible.

There are other CTL tools around that might be more suitable for Bengali
scripts.

> Please specify the file name & the style of change 
> needed if possible.I am working on VC++ 6.0 on windows 
> environment.

There is no file in fltk that you need to change. You need to *add* a
lot of new files to do this.

> Plzzzzzzzzzzz HELP ME.........

I have tried. I do not know what more I can suggest.
-- 
Ian




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