Apache OpenOffice (AOO) Bugzilla – Issue 12768
Hebrew parenthesis reversed
Last modified: 2013-08-07 15:02:39 UTC
In Impress, parentheses appearing in RTL Hebrew text are reversed. This occurs when typing text directly into a slide or when importing from Powerpoint. Thus, the ) character [shift "0"] appears as ( [shift "9"] and vice versa, so that as text flows from RTL words appear as )word( In Writer parentheses work correctly in hebrew and the above does not occur.
DL->MT: would you please takeover?
*** Issue 12767 has been marked as a duplicate of this issue. ***
)( instead of () in both Writer and EditEngine, but result when typing differs. IMHO EE result looks better, but I don't understand enough from Hebrew..
MT->HDU: Seems to be your, I don't use STRONG
Not setting the RTL flag in an RTL input context is the problem. Then there is no chance that weak BiDi characters are interpreted correctly.
Ping-Pong... BTW - similar problem in VCL edit fields
Where to get the RTL defaults when there is no paragraph setting...
We try to fix all Hebrew and Arabic tasks for OOo 1.1. I change 'target milestone' to OOo 1.1.
dumdidum
Is issue #14590 a duplication of this? (with more characters problematic)
Yes, bug 14590 seems to be strongly related, but I'd like to keep them both until it's really clear. Thanks for the hint.
The problem is, that the edit engine has to pass the paragraph's writing direction when not using BIDI_STRONG. This has to be passed for all scripts, not only CTL. With this fix, parenthesis are rendered correctly when writing direction is right-to-left. There are still problems with paranthesis around hebrew when writing left-to-right, but I consider this a minor problem. Waiting for review by mt/hdu.
Even when writing hebrew in a left-to-right paragraph, paranthesis are displayed correctly now. However, the closing paranthesis is not displayed correctly until the following character is entered. This is because weak characters are written in the default writing direction unless they are enclosed in some strong characters. Just as a hint for testing: the opening paranthesis on a hebrew keyboard can be reached by pressing shift-0, the closing by pressing Shift-9. This is because the paranthesis are mirrored. Fix reviewed by mt. (VCL11)
Please verify in vcl11.
The brackets issue is still reproducible in vcl11.
reassigned to SSA.
my fault: I wasn't aware of the (special) hebrew keyboard layout which is different than western/engl layout regarding brackets. Thus the fix works now (at least on Windows). Setting back to fixed.
fix verified.
.
OK in internal version srx645_m14s1.8665.