GNOME Bugzilla – Bug 345618
Text is wrong aligned in mail body in Evolution for arabic locales
Last modified: 2006-07-27 05:00:43 UTC
Please describe the problem:
RTL language text isn't aligned to right.
Steps to reproduce:
1) login in arabic locale (e.g.: ar_SA.UTF-8)
2) invoke Evolution
3) create new mail
4) try to input arabic characters
Text is aligned to left.
Since arbic is RTL language, it should be aligned to right
Does this happen every time?
Created attachment 67823 [details]
Created attachment 67824 [details]
Created attachment 67825 [details] [review]
Post the patch made by Nancy.
Harish/Srag, could you possibly review this patch? Thanks.
Simon : Without knowing more, I was wondering if it is just an alignment problem. Changing the alignments from L to R gives the same effect as the patch..am i missing something ?
Harish, for the aligment, I think Simon means not only the text should be aligned to left, but also the text order. As I know, in Arabic language, if you input "ABCD" for example, it will appear as "DCBA" the cursor will be before "D".
So the text order is the big problem. Simon, can you confirm this patch will fix both the aligment and order problem?
Harish/Harry, Arabic is a RTL language. RTL points not only characters order but also text aligment. Currently, characters order works fine by using Pango. However, aligment isn't correct. Aligment should be completed automatically like application gedit, and it shouldn't be done by users. In other word, right aligment is the default behaviour for RTL language. So we should move the focus to end of line when detecting RTL language.
As Veerapuram approved this patch in bug 342659, committed it to CVS HEAD.