On Tue, Jan 02, 2007 at 02:06:47PM +0100, Abdelrazak Younes wrote:
> Andr� Poenitz wrote:
> >On Tue, Jan 02, 2007 at 10:53:47AM +0100, Abdelrazak Younes wrote:
> >>Georg Baum wrote:
> >>>I have no idea why, and I don't have any idea why we need the \rtl 
> >>>flag in lyxrc. Why is RTL display not derived from the language?
> >>Hum, I've done some thinking about that... Instead of the language, 
> >>maybe we can base the RTL display upon the unicode codepoints and set 
> >>the language automatically as well if we detect hebrew or arabic?
> >
> >I doubt this will work with numbers and punctuation.
> 
> We might have to adjust punctuation and number treatment, indeed but 
> this is exactly what Qt does when you pass it a whole string mixing 
> arabic and english. As a matter of fact, this is also what Fribidi does.
> 
> I guess the solution to our RTL problem is just to completely delete our 
> painting support code and rely on Qt to do right thing. This just mean 
> that we send complete string instead of single word.

Sounds like a good solution if it works. 

Andre'

Reply via email to