[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linux Hebrew] Re: QBDLineEdit: hebrew lineedit replacement for qt's line edit
On Sun, 6 Dec 1998, Erez Nir wrote:
> anyway in this effort (a pre alpha code) I have made a line edit
> that supports hebrew and english
BRAVO!
Cheers!
Pat on Erez Nir's back! (only not too strong to break his back, we need
his back to be intact to let his hands continue their typing work as
needed to finish the widget. :-) )
My request from Erez Nir is to identify where he can pull out the code,
which receives a string of characters and rearranges them as needed to
handle correctly mixed LTR+RTL text - and what kind of interface he needs
for a plug-in module which will be both simple and efficient.
Why?
As Hetz Ben Hamo pointed out in another E-mail message, there are several
text manipulation libraries in Linux, contrary to the situation in
MS-Windows. He correctly pointed out that it is hopeless to convert every
library to support Hebrew.
Therefore, the right approach is to define and implement an interface to a
text rearrangement/locating plug-in which will receive a multilingual
string and return text layout instructions. The interface will be
universal for all libraries (this will require some talking and persuasion
to the library maintainers).
Then for each language with special layout requirements (Hebrew, Arabic,
Mongolian, whatever) a single plug-in will be necessary and sufficient to
make ALL libraries support that language.
To be able to define a satisfactory interface, we need to summarize what
information is needed by all kinds of text widgets and try to find some
reasonable common ground.
--- Omer
WARNING: by sending me unsolicited
commercial/political/religious/MailPush E-mail message/s, you irrevocably
agree to pay me US$500.- plus any legal fees incurred by my trying to
collect this amount, per unsolicited
commercial/political/religious/MailPush E-mail message - for the service
of my receiving it.