In QLPainter::text(), we pass the string to draw to Qt on a word by word
basis and the Layout direction is explicitly set to LTR:
// We need to draw the text as LTR as we use our own bidi code.
setLayoutDirection(Qt::LeftToRight);
if (isDrawingEnabled()) {
drawText(x, y, str);
}
Could it be that your Qt settings somewhat override the layout direction?
Yes, it seems to me like something like this is going on, I just don't
know where it can be coming from. Again, Abdel and me see the output
correctly, Guy and Georg have an extra reverse in there.
and I don't have any idea why we need the \rtl flag in lyxrc.
I think this "RTL support" check box makes no sense at all.
Why is RTL display not derived from the language?
We should make this change.
It actually is, no need to make the change, see my previous message.
Abdel.