[Kde-pim] Right-To-Left (RTL) Support in KMail's Composer

Diego Iastrubni elcuco at kde.org
Tue Jun 2 20:48:55 BST 2009


On Tuesday 02 June 2009 22:06:22 Thomas Lübking wrote:
> This is a html mail by intention, sorry everyone :-(
Plain text here.

> Am Tuesday 02 June 2009 schrieb Ingo Klöcker:
> > Frankly, I'm surprised (or rather shocked) that this doesn't work
> > already out-of-the-box with QTextEdit. Does it only break in HTML/RTF
> > mode?
Auto direction of the paragraph was removed in Qt4. Still, I want more 
control. People will like to see that button - that means the application 
supports RTL :)

> hmmm, just tried. at least by c'n'p some arabic (@nsa: from some
> translator, i'm not a T-thing... ;-P ) sets QTextEdit to rtl input (on this
> particular) text, when typing some latin chars, they'll be handled as ltr
> (inline, i assume this is the "bidi" thing)
>
> entering
> المنزل
> in kmail works as well

IMHO you have been fooled. Are you sure you sent HTML mail? 

Anyway, in plain text "we guess the direction" in HTML mail we use exactly 
what the other side wants us to see, no guessing. For example, what about 
paragraphs which start with English words? 

"KDE היא סביבת עבודה ליוניקס"

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list