Bug 145265 - add BIDI support to import pdf in Draw.
Summary: add BIDI support to import pdf in Draw.
Status: RESOLVED DUPLICATE of bug 104597
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.2.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-22 01:28 UTC by Shimon Doodkin
Modified: 2021-10-22 13:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shimon Doodkin 2021-10-22 01:28:11 UTC
Description:
text in imported pdf to draw in hebrew is reversed. 

there is a thing called visual hebrew and logical Hebrew .
a bidi library has a conversion for it.

FILEOPEN PDF

Steps to Reproduce:
1. open pdf file in draw with hebrew for example this one:

http://bagrutbesafrut.co.il/59.pdf
 see text reversed

2. view it with something. and see text is ok

Actual Results:
the imported text is reversed.

Expected Results:
the text imported in logical order. 


Reproducible: Always


User Profile Reset: No



Additional Info:
the export pdf is also visible reversed
Comment 1 V Stuart Foote 2021-10-22 13:15:55 UTC
Thanks for filing. This is a known issue for PDF import filter handling of text runs of RTL scripts. ICU Unicode testing for BiDi is already in use and scripts are recognized as RTL, issue is the handling of the text runs and assembling them back into lexically correct RTL--as is they are laid down as parsed from the PDF.

*** This bug has been marked as a duplicate of bug 104597 ***