Re: GUI with RTL and BiDi support

new topic     » goto parent     » topic index » view thread      » older message » newer message
EUWX said...
GreenEuphorian said...

You see, you may be able to use the character set of the language you need, but this does not guarantee RTL support. I have experienced, in other languages, some GUIs which can reproduce the individual characters from an RTL language, but cannot correctly reproduce the words and the sentences. That is because those GUIs do not support Right-to-Left languages, and consequently those characters or words are displayed backwards.

What about Euphoria bindings for Qt or GTK? Is anyone thinking of working on them?

You can download the QT4 wrapper, which according to the author is incomplete, and I can almost guarantee that it does not include the Unicode classes. I have not looked at the GTK wrapper or worked with it. However, my general experience is that people talk about Unicode more than actually implement it, and RTL is another big hurdle.

sounds like you have zeros reason for asserting unicode or bidirectional text is not supported in euqt, and even less for assertions about any of the the GTK wrappers.

Qt is fully unicode and language agnostic. anywhere it isn't is a bug. wish I could say the same for euqt. patches accepted.

these ~Qt_LayoutDirection constants are used to set the properties on widgets, that part of it should present few problems, I am not sure how line ends and a few other details would be handled. Qt also has a translation feature that I have not really tested out but should work as expected from euphoria. TR()

anyway in fact, you are correct that euqt is not unicode capable. only because the text is converted to ansi on the way in and on the way out of widgets. a relatively simple, *guessing*, change to that section of the code could preserve the unicode. utf8 could simply be handled as binary. since euphoria is not really aware of unicode in any meaningful way yet, especially u16, you would have to addopt one of the unicode libs from the archive or from the net.

I would be surrprized if GTK and WxEuphoria text widgets were not equally capable of lefttoright and unicode already. their wrappers are more complete and more widely used, if user feedback is any indication.

feel free to enter bug reports or feature requests for any of the GUI wrappers at their websites, or use the ticket system on openeuphoria for euphoria itself. this has the effect of raising the priority. Unicode is something everyone wishes was already done well and was easy to implement. it isn't. you can search the forum for past discussions too.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu