Issue 13249 - formula bar get's completely distorted when in a RTL paragraph
Summary: formula bar get's completely distorted when in a RTL paragraph
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: BiDi (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC All
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@l10n
URL:
Keywords: oooqa
: 14611 19689 21334 27034 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-04-10 12:25 UTC by mehlng
Modified: 2013-08-07 15:00 UTC (History)
2 users (show)

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


Attachments
a document with a twisted formula. it is shown a little bit skewed. (6.67 KB, application/octet-stream)
2003-05-29 14:53 UTC, mehlng
no flags Details
a document with a twisted formula. it is shown a little bit skewed. (6.85 KB, application/octet-stream)
2003-05-29 14:55 UTC, mehlng
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mehlng 2003-04-10 12:25:49 UTC
any formula gets distorted when in a RTL paragraph simply insert anything and
see for yourself, characters gets one inside another - a sheer mess.
Comment 1 Dieter.Loeschky 2003-04-22 12:18:46 UTC
DL->OC: Would you please takeover?
Comment 2 oc 2003-05-28 12:00:50 UTC
I can't reproduce this problem in OOo1.1Beta2. Please attach a sample
document.
Comment 3 mehlng 2003-05-29 14:51:42 UTC
I really really can't understand why can't you reproduce it - just add
a formula to any R2L paragraph and the inside math is distorted (it
think the math should be R2L as well IE $Inft. = 1/n lim$, instead of
$lim 1/n = inft.$
Anyhow a file is included.
Comment 4 mehlng 2003-05-29 14:53:18 UTC
Created attachment 6518 [details]
a document with a twisted formula. it is shown a little bit skewed.
Comment 5 mehlng 2003-05-29 14:55:25 UTC
Created attachment 6519 [details]
a document with a twisted formula. it is shown a little bit skewed.
Comment 6 mehlng 2003-05-29 14:57:08 UTC
please note that either that not all the formula is shown when you
leaves the formula "OLE window", and except please note that the
mathematical limes expression "lim" is shown as "mil".
Comment 7 mehlng 2003-05-29 15:01:37 UTC
I think there's a major "skewing" problem with MS fonts look at bugs
13254, 13974, 14072, 15068, 12944.
One of the developers in one of the comment noted that you're using
Sun's Java font while I'm using MS-Times-New-Romans.

Thanks again
Comment 8 sforbes 2003-06-17 07:29:25 UTC
>Sun's Java font while I'm using MS-Times-New-Romans

That might explain it. Does the sun version have Hebrew glyphs? If
not, there is not even an option of "use the sun version instead"
Comment 9 sforbes 2003-06-25 09:46:18 UTC
Issue #14611 is a dupe of this one.
Can someone please mark them so, and change this bug to ALL?
No, this does not seem to bee a font problem, as makring the paragraph
is RTL "fixes" the display.

From the comments in issue #14611:

Yep, I  see the same thing when importing forumlas from word, in
windows XP. Attaching screen shots.
Please change platform from LINUX to ALL

attachment id=7049
a word XP file, with a few simple formulas

Created an attachment id=7050
the formulas in word xp- ok

attachment id=7051
the formulas in oo write- all jumbled

Comment 10 michael.ruess 2003-06-25 10:10:12 UTC
I'll take over...
Comment 11 dovf 2003-06-26 11:03:54 UTC
*** Issue 14611 has been marked as a duplicate of this issue. ***
Comment 12 dovf 2003-06-26 11:08:56 UTC
The OS should be changed to ALL, as the problem has been observed in 
Linux also.
Comment 13 michael.ruess 2003-06-27 11:54:27 UTC
MRU->TL: The formula is not completely shown when inserted in RTL
context. This will be important for Arabic/Hebrew release (OO 1.1.1).
Comment 14 mehlng 2003-06-29 07:11:29 UTC
mehlng->mru: quote "the formula is not completely shown" - this minor
fact (and also that when writing something after the formula it
disappears) is the not-so-major bug, the biggest problem is that THE
FORMULAS ARE WRITTEN BACKWARDS!
IE a+b renders as b+a, when more complex forms are represented greater
havoc is being wreaked.]

*changed to ALL as requested*
Comment 15 michael.ruess 2003-06-30 10:54:33 UTC
Changed target to 1.1.1
Comment 16 frank.meies 2003-07-02 14:44:12 UTC
FME->TL: Besisde the fact that the output device should have set the
TEXT_LAYOUT_BIDI_STRONG flag, there seems to be another repaint issue.
Please consider also to set the flag for the correct digits. 
Comment 17 thomas.lange 2003-07-04 08:24:12 UTC
The problem in Math is fixed. When the formula is painted it is now
painted correctly.

Files changed:
  starmath:
    document.cxx  1.61.24.1

However there is still another issue:
When you type more than 2 characters to the left of the formula in the
RTL context the formula frame gets erased withour being drawed again.

TL->FME: According to MBA this must happen in the Writer itself and OS
said it can only be in your part of the code.
Please take over.
Comment 18 mehlng 2003-07-04 12:52:19 UTC
Where can I download a "nightly build" so I can test the most updated
version and report bugs?

*changed to STARTED as this issue is work-inprogress*
Comment 19 mehlng 2003-07-10 15:20:55 UTC
If anyone cares OOo1.1RC seems to keep the letters in order (IE a+b
remains a+b) but to drive the signs and placement of characters mad.
(IE the /'s line is skewed left and the = is not seen etc)
If anyone cares.
Comment 20 frank.meies 2003-08-08 15:00:32 UTC
FME->TL: You fixed a part of this bug, please submit a new bug for the
remaining problems.
Comment 21 thomas.lange 2003-08-11 08:54:40 UTC
See also follow up #i18125#.
Comment 22 frank.meies 2003-08-11 13:30:04 UTC
FME: I'll take over.
Comment 23 frank.meies 2003-08-11 13:32:04 UTC
.
Comment 24 mehlng 2003-08-16 19:45:38 UTC
The very same phenomena happens in RC3 windows.
Comment 25 frank.meies 2003-08-18 09:25:02 UTC
FME: See #i18125#.
Comment 26 frank.meies 2003-08-19 07:19:34 UTC
.
Comment 27 michael.ruess 2003-08-19 16:28:01 UTC
Checked fix in CWS sw7pp1.
Comment 28 michael.ruess 2003-08-19 16:28:21 UTC
Fix will be included in OO 1.1.1.
Comment 29 michael.ruess 2003-09-18 10:27:46 UTC
*** Issue 19689 has been marked as a duplicate of this issue. ***
Comment 30 thomas.lange 2003-10-17 11:26:57 UTC
*** Issue 21334 has been marked as a duplicate of this issue. ***
Comment 31 michael.ruess 2004-01-28 10:56:29 UTC
Checked fix with internal OO 1.1.1 build srx645m27.
Comment 32 michael.ruess 2004-03-29 07:23:49 UTC
*** Issue 27034 has been marked as a duplicate of this issue. ***