Dov Feldstern wrote:
Abdelrazak Younes wrote:
PS: Dov, there could be some problems with this last commit and bidi
support. I've tried hard to only change the interfaces and to maintain
the logic but bugs happen. Please let me know if there's anything wrong.
Abdel.
Hmm, yes, there are: it looks like the language information is lost at
the time of painting --- Bidi is all painted backwards again. It looks
to me like the problem must be that in RowPainter::paintFromPos(),
orig_font does not contain the correct language information. So, both
'lang', which is obtained from it, is wrong, and also later on, in
paintForeignMark (at the end of paintFromPos()) the language is not
correctly identified as foreign, and therefore incorrectly underlined.
Any ideas on how to correct this?
Should be fixed now, sorry about that.
Abdel.