Issue 12768 - Hebrew parenthesis reversed
Summary: Hebrew parenthesis reversed
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: BiDi (show other issues)
Version: OOo 1.1 Beta
Hardware: PC Windows XP
: P4 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: ulf.stroehler
QA Contact: issues@l10n
URL:
Keywords:
: 12767 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-03-28 07:19 UTC by Unknown
Modified: 2013-08-07 15:02 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-03-28 07:19:02 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.
Comment 1 Dieter.Loeschky 2003-03-28 11:53:40 UTC
DL->MT: would you please takeover?
Comment 2 lohmaier 2003-03-31 20:22:02 UTC
*** Issue 12767 has been marked as a duplicate of this issue. ***
Comment 3 malte_timmermann 2003-04-03 09:42:38 UTC
)( 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..
Comment 4 malte_timmermann 2003-04-14 09:45:58 UTC
MT->HDU: Seems to be your, I don't use STRONG
Comment 5 hdu@apache.org 2003-04-15 14:17:13 UTC
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. 
Comment 6 malte_timmermann 2003-04-15 14:41:02 UTC
Ping-Pong...

BTW - similar problem in VCL edit fields
Comment 7 hdu@apache.org 2003-04-16 14:26:11 UTC
Where to get the RTL defaults when there is no paragraph setting... 
Comment 8 thorsten.ziehm 2003-04-17 16:08:37 UTC
We try to fix all Hebrew and Arabic tasks for OOo 1.1. I change
'target milestone' to OOo 1.1.
Comment 9 christof.pintaske 2003-05-22 10:50:57 UTC
dumdidum
Comment 10 karouri 2003-05-23 20:48:05 UTC
Is issue #14590 a duplication of this? (with more characters 
problematic)
Comment 11 stephan_schaefer 2003-05-27 12:56:41 UTC
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.
Comment 12 stephan_schaefer 2003-05-28 15:29:52 UTC
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.
Comment 13 stephan_schaefer 2003-06-03 09:36:25 UTC
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)
Comment 14 stephan_schaefer 2003-06-04 07:45:06 UTC
Please verify in vcl11.
Comment 15 ulf.stroehler 2003-06-06 20:44:02 UTC
The brackets issue is still reproducible in vcl11.
Comment 16 ulf.stroehler 2003-06-06 20:45:26 UTC
reassigned to SSA.
Comment 17 ulf.stroehler 2003-06-10 09:41:14 UTC
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.
Comment 18 ulf.stroehler 2003-06-10 09:44:55 UTC
fix verified.
Comment 19 ulf.stroehler 2003-06-10 10:34:42 UTC
.
Comment 20 ulf.stroehler 2003-06-10 10:35:14 UTC
.
Comment 21 ulf.stroehler 2003-07-24 07:53:03 UTC
OK in internal version srx645_m14s1.8665.