Persian: Change order of characters when opening document

Bug #274552 reported by nahoo
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenOffice
New
Unknown
libreoffice (Ubuntu)
Incomplete
Undecided
Unassigned
openoffice.org (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: openoffice.org-writer

Try to copy the following text into an openoffice-writer window, the last point (last line, right) will apear on the last line, but on the left end. It appears, than all the points appears on the wrong order. My findings, it that the left and right endings of each line are transposed.

حمدی نژاد یک دروغ است، دروغی که نه بر اثر گذشت تاریخ، بلکه بسرعت فاش شده است و می شود، آنچه مشکل ماست، نتیجه حضور سه ساله
 این کوتوله سیاسی در زندگی ملت ایران است، او موفق شده است که تمام بیماری های خود را به جامعه ایران سرایت دهد. او جامعه ایران را بیمار، خودخواه، دروغگو، بی اعتماد و حریص کرده است. شاید این مهم ترین مشکل امروز ایران باشد. مشکلی که بسادگی حل نمی شود.

To reproduce the bug, simply open the attached file with openoffice writter.

Revision history for this message
nahoo (nahoo82) wrote :
Revision history for this message
nahoo (nahoo82) wrote :
  • test.odt Edit (13.8 KiB, application/vnd.oasis.opendocument.text)

Attached, the result of pasting into openoffice.

Revision history for this message
Neil Munro (neilmunro-deactivatedaccount) wrote :

Thanks for taking the time to report this bug and help make Ubuntu better, I can confirm this happens, it took me a little time to notice what was happening and what you were actually reporting, but yes, the "." character moves to the left of the word not the right.

Changed in openoffice.org:
status: New → Confirmed
Revision history for this message
nahoo (nahoo82) wrote :

Sorry, i'll explain myself better, the point doesn't move to the left of the word. What happened is that the point move to the other side of the line (that is, form the left side, to the right one):

ie, if I would write it with latin letters, it would be something like that:

. foo bar baz

is mapped to

foo bar baz .

Another problem I found is that the letters need to be joined when they form part of he same word, and after copying the text the letters are splitted up in different "units". Sorry, I don't know how to explain it better. I can reproduce the problem with arabic and persian. In Ubuntu and in Debian Sid. I've also tried the new 3.0 rc version, with locales de_DE.UTF-8 and one of the ar_XX.UTF-8 variants.. So, it's probably an upstream problem.

As soon as I can I will attach an screenshot, where you can see the effect better.

Thanks.

Revision history for this message
nahoo (nahoo82) wrote :
Revision history for this message
nahoo (nahoo82) wrote :
Revision history for this message
nahoo (nahoo82) wrote :

Sorry for the wrong comment, the first attachment is the good one.

Revision history for this message
nahoo (nahoo82) wrote : Re: Persian: Change order of caracters when opening document
Chris Cheney (ccheney)
Changed in openoffice.org:
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in openoffice:
status: Unknown → New
Yaron (sh-yaron)
tags: added: rtl
Revision history for this message
penalvch (penalvch) wrote :

nahoo, does LibreOffice Writer yield better results for you?

lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

 apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

Changed in libreoffice (Ubuntu):
status: New → Incomplete
summary: - Persian: Change order of caracters when opening document
+ [Upstream] Persian: Change order of characters when opening document
Revision history for this message
penalvch (penalvch) wrote : Re: [Upstream] Persian: Change order of characters when opening document

nahoo, please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 274552
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in openoffice.org (Ubuntu):
importance: Medium → Low
status: Triaged → Incomplete
Changed in openoffice.org (Ubuntu):
status: Incomplete → Won't Fix
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote : migrating packaging from OpenOffice.org to Libreoffice

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

penalvch (penalvch)
summary: - [Upstream] Persian: Change order of characters when opening document
+ Persian: Change order of characters when opening document
Revision history for this message
Masoud Abkenar (mabkenar) wrote :

Dear Nahoo!
All you need to do is to activate support for "complex text layout," as you can see in this image: http://freeexp.files.wordpress.com/2008/04/ooo_options_dialog_2.png

Then you will notice two new buttons are added in the formatting toolbar. To get the right result, you should format your text not only as right-aligned, but also as RTL-directioned (using the new RTL toolbar-button).

This is not actually a bug. The point is, while support for complex text layout is essential for Persian/Arabic speakers, this feature is not activated by default in OpenOffice/LibreOffice (probably because most users will never need it).

The ideal case would be a world in which LibreOffice activates complex text layout support automatically if it detects a Persian/Arabic/Hebrew/[...] keyboard layout in the system.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.