Apache OpenOffice (AOO) Bugzilla – Issue 13249
formula bar get's completely distorted when in a RTL paragraph
Last modified: 2013-08-07 15:00:39 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.
DL->OC: Would you please takeover?
I can't reproduce this problem in OOo1.1Beta2. Please attach a sample document.
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.
Created attachment 6518 [details] a document with a twisted formula. it is shown a little bit skewed.
Created attachment 6519 [details] a document with a twisted formula. it is shown a little bit skewed.
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".
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
>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"
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
I'll take over...
*** Issue 14611 has been marked as a duplicate of this issue. ***
The OS should be changed to ALL, as the problem has been observed in Linux also.
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).
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*
Changed target to 1.1.1
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.
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.
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*
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.
FME->TL: You fixed a part of this bug, please submit a new bug for the remaining problems.
See also follow up #i18125#.
FME: I'll take over.
.
The very same phenomena happens in RC3 windows.
FME: See #i18125#.
Checked fix in CWS sw7pp1.
Fix will be included in OO 1.1.1.
*** Issue 19689 has been marked as a duplicate of this issue. ***
*** Issue 21334 has been marked as a duplicate of this issue. ***
Checked fix with internal OO 1.1.1 build srx645m27.
*** Issue 27034 has been marked as a duplicate of this issue. ***