[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GDK/GTK 1.2 with hebrew support
> the GdkDrawText routines do a BiDi translation on the string before
> it is painted by X11. Unfortunately this approach cannot work properly.
of course, it's a hack, but it provides a temporal solution for those who
really need hebrew support.
actually, at first i hacked the gtktext widget, but i wanted to see how it
works at general so i hacked down gdk...
> having the text and entry widgets keep complete BiDi information
> (visual-to-logical mapping, both logical and visual strings, etc)
> internally.
yes, and i hope to start doing it soon, but i don't know how should i
implement alignments...
> standard gtk text and entry widgets and inserting the reflected ones
> instead. I don't have time to do this, but perhaps someone else does?
i hope to make gtk text,entry and label to support BiDi internally, while
keeping it compatible with Gtk 1.2, i.e. there will be no need to make
modifications to the code, and in the same time to add some features, like
disabling Bidi in a specific widget, which is required by browsers.