Photon and Right to Left Support

Hello,

I know, Photon doesn’t support Right to Left Text (like Arabic or Hebrew)
right now. But is there any chance that it will support it in the NEAR
future (like in QNX 6.2) ?
With best regards…

Joern Ihlenburg

Joern Ihlenburg <joern.ihlenburg@bizerba.com> wrote:

Hello,

I know, Photon doesn’t support Right to Left Text (like Arabic or Hebrew)
right now. But is there any chance that it will support it in the NEAR
future (like in QNX 6.2) ?
With best regards…

Joern Ihlenburg

No. The issues is many fold.

  1. The font subsystem needs to
    be changed (this has had work done on it, but it is on
    hold, with no schedule on the roadmap to be finished yet).

  2. The text processing of the widget library needs to be
    rewritten in order to function with right-to-left sequences
    correctly. There is a tonne of legacy left-to-right
    assumptions.

  3. Browsers have to be changed to support right-to-left.
    With Mozilla, this may make thinks easier.

  4. All applications which directly process text manually
    will have to have portions rewritten.

Though not what you wished to hear, I thought it pertinent
to explain the “No” response, rather than blatantly say
“No”.

Regards.

Thank you for your response.

I know it is impossible to change the whole system, but is it possible to
write an application with right to left support?
How is the support for chinese, by the way?

With regards…

Joern Ihlenburg

<dleach@qnx.com> schrieb im Newsbeitrag news:acm24c$nvg$1@nntp.qnx.com

Joern Ihlenburg <> joern.ihlenburg@bizerba.com> > wrote:
Hello,

I know, Photon doesn’t support Right to Left Text (like Arabic or
Hebrew)
right now. But is there any chance that it will support it in the NEAR
future (like in QNX 6.2) ?
With best regards…

Joern Ihlenburg

No. The issues is many fold.

  1. The font subsystem needs to
    be changed (this has had work done on it, but it is on
    hold, with no schedule on the roadmap to be finished yet).

  2. The text processing of the widget library needs to be
    rewritten in order to function with right-to-left sequences
    correctly. There is a tonne of legacy left-to-right
    assumptions.

  3. Browsers have to be changed to support right-to-left.
    With Mozilla, this may make thinks easier.

  4. All applications which directly process text manually
    will have to have portions rewritten.

Though not what you wished to hear, I thought it pertinent
to explain the “No” response, rather than blatantly say
“No”.

Regards.

“Jörn Ihlenburg” wrote:

Thank you for your response.

I know it is impossible to change the whole system, but is it possible to
write an application with right to left support?
How is the support for chinese, by the way?

I have played with chinese characters using UTF-8 character set. So far
widgets don’t have any problems with it. The Pg library calls don’t have any
problems either. So setting widgets Pt_ARG_TEXT_STRING, extending chinese
string and drawing them all seems to work. I don’t have any idea if the
chinese keyboard is well supported, I don’t have one.

I made you a little example :
http://pages.infinit.net/micbel/picture/chinese.JPG

Michel Belanger

Chinese is rendered left-to-right under Photon.

You could do all the right-to-left support yourself in an
application, but it would be a rather large amount
of work, though possible. You could use the font
manager as a glyph cache only, requesting all
the individual glyphs, and you compose the final
bitmaps. It would be slow, and you would have
to implement all the metrics calculations yourself.

As you can guess, it is possible, but would be
an extreme pain to implement.


<ihlenburg@web.de> wrote:

Thank you for your response.

I know it is impossible to change the whole system, but is it possible to
write an application with right to left support?
How is the support for chinese, by the way?

With regards…

Joern Ihlenburg

dleach@qnx.com> > schrieb im Newsbeitrag news:acm24c$nvg$> 1@nntp.qnx.com> …
Joern Ihlenburg <> joern.ihlenburg@bizerba.com> > wrote:
Hello,

I know, Photon doesn’t support Right to Left Text (like Arabic or
Hebrew)
right now. But is there any chance that it will support it in the NEAR
future (like in QNX 6.2) ?
With best regards…

Joern Ihlenburg

No. The issues is many fold.

  1. The font subsystem needs to
    be changed (this has had work done on it, but it is on
    hold, with no schedule on the roadmap to be finished yet).

  2. The text processing of the widget library needs to be
    rewritten in order to function with right-to-left sequences
    correctly. There is a tonne of legacy left-to-right
    assumptions.

  3. Browsers have to be changed to support right-to-left.
    With Mozilla, this may make thinks easier.

  4. All applications which directly process text manually
    will have to have portions rewritten.

Though not what you wished to hear, I thought it pertinent
to explain the “No” response, rather than blatantly say
“No”.

Regards.