Bug 89471 - FILEOPEN pdf: When opening a PDF with RTL language text in Draw, text gets mirrored
Summary: FILEOPEN pdf: When opening a PDF with RTL language text in Draw, text gets mi...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) release
Hardware: Other All
: medium normal
Assignee: Not Assigned
: 84797 97131 116318 (view as bug list)
Depends on:
Blocks: RTL-CTL
  Show dependency treegraph
Reported: 2015-02-19 14:11 UTC by bar.hofesh
Modified: 2019-03-30 16:10 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:

Hebrew in PDF (429.50 KB, application/pdf)
2015-02-19 14:11 UTC, bar.hofesh
Non-LO-generated PDF with Hebrew text (38.77 KB, application/pdf)
2018-03-01 13:11 UTC, Eyal Rozenberg
PDF with Arabic text triggering the bug (24.24 KB, application/pdf)
2018-03-01 13:18 UTC, Eyal Rozenberg
simple PDF with RTL text inside text box (7.34 KB, application/pdf)
2019-03-30 08:30 UTC, Jack

Note You need to log in before you can comment on or make changes to this bug.
Description bar.hofesh 2015-02-19 14:11:40 UTC
Created attachment 113500 [details]
Hebrew in PDF

This happens in Windows and Linux alike.
Using LibreOffcie

Attached is an example PDF, we have tested multiple files with multiple fonts.
Comment 1 A (Andy) 2015-02-22 10:21:50 UTC
Reproducible with LO, Win 8.1.
Comment 2 Erez Hadad 2015-08-30 13:39:57 UTC
Reproducible on Ubuntu 14.04, LibreOffice
Comment 3 Eyal Rozenberg 2016-03-15 21:11:55 UTC
Indeed, this seems to always be the behavior - both with PDFs created by LibreOffice (Export to PDF) and PDFs created elsewhere. If you want another PDF (not created in LO) with Hebrew, try this:


Reproduced with release.
Comment 4 QA Administrators 2017-05-22 13:19:32 UTC Comment hidden (obsolete)
Comment 5 Eyal Rozenberg 2018-03-01 13:11:06 UTC
Created attachment 140246 [details]
Non-LO-generated PDF with Hebrew text

The link to a document in my previous comment is dead, so instead here's an attachment with a PDF file not created with LO (originally it's InDesign CS4 and Adobe Distiller 10). Opening it in LO Draw results in the same issue.
Comment 6 Eyal Rozenberg 2018-03-01 13:18:06 UTC
Created attachment 140247 [details]
PDF with Arabic text triggering the bug

It seems this happens with Arabic text as well, so it's an RTL language issue rather than Hebrew issue specifically.
Comment 7 Buovjaga 2018-03-20 12:32:51 UTC
*** Bug 116318 has been marked as a duplicate of this bug. ***
Comment 8 Buovjaga 2018-03-20 12:33:50 UTC
*** Bug 97131 has been marked as a duplicate of this bug. ***
Comment 9 Eyal Rozenberg 2018-09-17 20:58:34 UTC
Bug still manifests with:

Build ID: 5d19a1bfa650b796764388cd8b33a5af1f5baa1b
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; 
Locale: en-GB (en_GB.UTF-8); Calc: group threaded
Comment 10 Buovjaga 2018-12-04 08:09:12 UTC
*** Bug 84797 has been marked as a duplicate of this bug. ***
Comment 11 Jack 2019-03-30 08:30:08 UTC
Created attachment 150410 [details]
simple PDF with RTL text inside text box

Bug 84797 is both older and specifies RTL text inside text boxes.
Comment 12 Eyal Rozenberg 2019-03-30 10:14:09 UTC
As a member of the LO RTL QA "team", I would like to point out this is currently one of the most significant RTL bugs in LibreOffice, as we see it (there was an actual discussion rating prominence of RTL bugs on our Telegram group). This bug essentially means LO cannot be used to work with PDFs with RTL content.

In light of the latter sentence, I ask that the severity be raised to major; and in light of the former sentence, I ask its importance be raised as well.
Comment 13 Xisco Faulí 2019-03-30 16:10:49 UTC
@Mark, i thought you might be interested in this RTL issue...