Bug 84797

Summary: RTL: text string in "text frame" object is reversed when saving PDF document
Product: LibreOffice Reporter: Jack <ATIV-Q>
Component: LibreofficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: minor    
Priority: medium CC: jmadero.dev, todventtu
Version: 3.3.0 release   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: PDF with RTL text in text frame. Text appears reversed, each save/open iteration reverses the text strings.
Simple PDF with RTL text in text frame object.

Description Jack 2014-10-08 09:39:18 UTC
Created attachment 107546 [details]
PDF with RTL text in text frame. Text appears reversed, each save/open iteration reverses the text strings.

Open a PDF document that contains a text frame with RTL text. Note the order of the text string, for example "ABCDEFG". Save as PDF, and open the saved document. The order of the text string will be reversed, "GFEDCBA".

Sample PDF attached.
Comment 1 Joel Madero 2014-10-08 16:59:20 UTC
Please provide a much simpler document as it'll help developers focus on the real problem vs. all the extra unnecessary stuff.

Marking as NEEDINFO - once you provide a simpler document mark as UNCONFIRMED. Thanks
Comment 2 Jack 2014-10-08 19:34:03 UTC
Created attachment 107579 [details]
Simple PDF with RTL text in text frame object.

Simple PDF with a text frame containing the string "אבגדהוזחטי". When opened/saved as PDF, the string reverses to "יטחזוהדגבא". Each iteration of open/save alternates the string between forward/reverse.
Comment 3 Beluga 2014-11-14 20:06:22 UTC
Confirmed the flippage. Let's change to minor, referring to https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08
Comment 4 Beluga 2015-01-09 14:18:22 UTC
Lowered version number after reproducing with:

Ubuntu 14.10 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.