Issue 23041

Summary: Arabic Character Rotation Does Not Work (rtl text in ltr paragraph)
Product: Writer Reporter: meshcurrent <youssef.eldakar>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: issues, kaplanlior, munzirtaha, pavel, ulf.stroehler, xslf
Version: OOo 1.1Keywords: Arabic, CJK, oooqa
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
screen shot of arabic text in 90o
none
LTR Text isn't rotated in RTL paragraph
none
LTR Text isn't rotates fine in LTR paragraph none

Description meshcurrent 2003-11-30 13:34:34 UTC
Under Windows 2000, in OpenOffice 1.1's word processor, setting character 
rotation to 90 or 270 degrees (Format / Character / Position) has no effect on 
Arabic text.
Comment 1 askoorb 2003-12-14 17:29:18 UTC
are you using the latest version?  The issure relates to 1.0.1 howevever, your
comments refer to version 1.1

Please clarify this issue, as it would help.
Comment 2 meshcurrent 2003-12-15 07:15:13 UTC
The issue relates to 1.1, but I did not find 1.1 as a selection in the form 
back when I entered the issue. I changed it now.
Comment 3 sforbes 2003-12-24 16:13:22 UTC
WFM here with Hebrew OO 1.1 on Windows 2003 (with Arabic text pasted from
http://www.arabynet.com , as I don't know to write Arabic).

See attached screen shot
Comment 4 sforbes 2003-12-24 16:18:05 UTC
Created attachment 12109 [details]
screen shot of arabic text in 90o
Comment 5 lohmaier 2003-12-28 00:04:55 UTC
please also state what font you're using.
Comment 6 meshcurrent 2004-01-04 11:51:23 UTC
I originally encountered this issue on the English version of OOo 1.1. I just 
tried the Arabic-localized version of OOo 1.0, and the rotation worked fine.

Shouldn't I be able to normally enter and reformat Arabic text in any version 
of OOo, even though it's not Arabic-localized?
Comment 7 sforbes 2004-01-04 12:23:21 UTC
You should be able to- just make sure that "enable ctl" is marked in the prefrences.
Comment 8 meshcurrent 2004-01-04 12:34:39 UTC
In Tools / Options / Language Settings / Languages, I enabled Complex Text 
Layout (CTL), but I am still not able to rotate Arabic text in the non-Arabic-
localized (English) version of OOo 1.1.
Comment 9 sforbes 2004-01-19 23:50:31 UTC
I am still unable to repro this bug- added needmoreinfo keyword
Comment 10 settantta 2004-01-20 01:11:22 UTC
OO.o 1.1.0, English, under Mandrake Linux 9.2, keyboard layout set to Arabic....

Entered random characters (I know absolutely no Arabic, not even the letters...). 

Selected the text, right-click-->Character. Chose 90 degree rotation, OK.

Text is now rotated....

I did notice an option in the dialog, "Fit to Line", but it seems to make no difference...

May I ask what the default charset *at the OS level* is? I have set my system to utf8 throughout. 
That may make a difference, maybe not....
Comment 11 meshcurrent 2004-01-20 06:40:54 UTC
I apologize. I should've posted back earlier.

This issue is in the context of Windows 2000 only. On Windows 2000, OO 1.1 
English, I found that rotation of Arabic text works only when you enable CTL 
and change the text direction to RTL (right-to-left). Yet, on Windows 2000, OO 
1.0 Arabic (which is the latest Arabic package available), rotation of Arabic 
text works all the time even when you leave the text direction to LTR (left-to-
right).

In other words, to reproduce this issue, as far as I can tell, one would have 
to:

1. Install Windows 2000.
2. Install OO 1.1 English.
3. Enable CTL.
4. Set text direction to LTR (left-to-right).
5. Type and rotate Arabic text (which should not work).

I hope this clarifies the issue, and I really appreciate your concern!

Thank you.
Comment 12 Joost Andrae 2004-01-20 08:42:00 UTC
JA->US: could you please have a look at this win2000 ctl + mixed ltr/rtl issue,
please ? Reassigned to you
Comment 13 frank.meies 2004-01-20 08:59:52 UTC
FME: Character rotation of RTL text does only work in RTL paragraphs, LTR text
can only be rotated in LTR paragraphs. In other words: Rotation does not work in
text that has the opposite direction as its paragraph. That's a known
limitation. I suggest to set this to 'Office Later'.
Comment 14 Joost Andrae 2004-01-20 17:30:19 UTC
JA: set to later
Comment 15 lohmaier 2005-01-06 16:58:11 UTC
The problem is named -> no need for the needmoreinfo keyword any more.
Comment 16 ulf.stroehler 2005-01-12 19:57:58 UTC
As FME said "a known limitation" and let me add a personal note - a minor
limitation also.
We could leave this issue as it is, but to be honest, unless we don't touch this
area due to other reasons, I don't see the chance that this will get fixed in a
foreseeable time frame.
Any other opinions?
Comment 17 frank.meies 2007-10-28 11:08:08 UTC
*** Issue 83053 has been marked as a duplicate of this issue. ***
Comment 18 maho.nakata 2007-10-29 03:57:19 UTC
it also happens for CJK
Comment 19 okhayat 2007-11-01 10:18:10 UTC
Does this apply any more, as it's fixed in 2.3?
Comment 20 frank.meies 2007-11-01 12:04:58 UTC
Still valid, this is not fixed in 2.3
Comment 21 okhayat 2007-11-01 19:02:56 UTC
Ah, I see. But note that LTR text doesn't also rotate in RTL paragraph! Have a
look at the screenshot.
Comment 22 okhayat 2007-11-01 19:06:56 UTC
Created attachment 49362 [details]
LTR Text isn't rotated in RTL paragraph
Comment 23 okhayat 2007-11-01 19:07:54 UTC
Created attachment 49363 [details]
LTR Text isn't rotates fine in LTR paragraph
Comment 24 Joost Andrae 2008-07-09 11:42:42 UTC
retarget to 3.1
Comment 25 frank.meies 2008-09-30 08:16:02 UTC
Set target to OOo later. Rotating RTL text in a LTR paragraph (and vice versa)
is not a very common use case.
Comment 26 okhayat 2008-09-30 09:28:37 UTC
Don't you think this has been delayed for a long time now? The issue was filed
in 2003 and still it isn't fixed.
Comment 27 frank.meies 2008-09-30 09:54:44 UTC
@okhayat: I'm sorry but the date an issue has been filed doesn't really make any
difference. What's important is how the benefit relates to the resources which
are required to fix an issue. Not fixing or shifting the target of an issue does
not mean that we don't want to fix it, it simply means that there are more
important things to fix. I hope you agree with me on this.
Comment 28 okhayat 2008-09-30 10:23:34 UTC
I surely do agree with you. I'm just sad that most of the Arabic issues are delayed.
Comment 29 frank.meies 2008-09-30 10:35:02 UTC
@okhayat: Please have a look at issue 79434 which is a meta issue and lists a
couple of "Arabic" issues that are targeted for OOo 3.1. I'm currently working
on i60594, i22396, i28203, i89825 and i91465. So actually there's quite some
"Arabic" issues that will be fixed in OOo 3.1. I hope this will cheer you up a
bit ;-)
Comment 30 kaplanlior 2010-08-19 22:57:57 UTC
See also a similar bug with Hebrew: #99446