> i am using fltk 1.1.6-utf8 version with visual c++ 6.0 for
> the previous month.I am trying to develop a environment to
> write bengali there.'til now i am unable to do
> so........actually i am trying the vrinda font......plz help me

The fltk-1.1.6-utf8 build is an unsupported hack produced a while ago. I
don't think the guy whop wrote it is still around, and probably no one
here really knows enough about it to help you.

There are several more recent (but also unsupported) UTF8 hacks for
fltk-1.1.8 around (mine is here:
http://www.imm.uklinux.net/fltk/fltk118-utf8-2007-07-14.tar.bz2 but
there are a few others about).
Also, fltk-2 has (probably better) utf8 support built in from the start.

However, all that these fltk versions will do is give you the ability to
display utf8 encoded strings in the Unicode fonts you have selected.

That in itself will not make the Fl_Text_Editor into a useful editor for
Bengali text... The problem is that the text editor core was originally
written to handle Latin based languages (at heart it is the programming
editor Nedit) so it does not know how to handle many typographical
futures, such as ligatures, conjunct characters, elided characters etc.,
that generally do not occur in Latin languages (or programming
languages.)

I think for Bengali you do need to handle these typographical features?
If so, you will need to extend the text editor to handle some sort of
Complex Text Layout engine - the "usual" choice on Linux is to use
PanGo, but the IndiX project has a CTL specifically for Indic scripts
here: http://www.cdacmumbai.in/projects/indix/ that works independently
of PanGo and might be easier to integrate with fltk (but which does
require changes to the underlying X server - which is likely to be
hard.) I have not tried. It will not be a trivial task.
Also the "Technology Development for Indian Languages" project
http://tdil.mit.gov.in/ has resources you should check out.

If you just need a utf8 aware text editor to handle Bengali scripts,
then Yudit can already do this, as (I believe) can recent version of
OpenOffice, and possibly some of the (PanGo based) Gnome text editors.

Also, the OLPC project have been addressing text editors for world
scripts so I imagine they have something working- again I assume using
PanGo for CTL.

Of course, most of the "solutions" I have suggested are not fltk-based,
so if you need a fltk based solution... Well, it isn't going to be
easy...

-- 
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