Bug 152677 - Hebrew PDF file is (somewhat) garbled when opened with LibreOffice
Summary: Hebrew PDF file is (somewhat) garbled when opened with LibreOffice
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Import-Draw
  Show dependency treegraph
 
Reported: 2022-12-25 22:20 UTC by Sergei Steshenko
Modified: 2024-08-03 09:15 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Mangled/garbled by LibreOffice ODG file created from PDF (36.72 KB, application/vnd.oasis.opendocument.graphics)
2022-12-25 22:20 UTC, Sergei Steshenko
Details
The source file used to demonstrate the bug (256.46 KB, application/pdf)
2022-12-25 22:22 UTC, Sergei Steshenko
Details
Screenshot showing the problem (192.15 KB, image/png)
2022-12-25 22:28 UTC, Sergei Steshenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Steshenko 2022-12-25 22:20:54 UTC
Created attachment 184342 [details]
Mangled/garbled by LibreOffice ODG file created from PDF

If I open a file (to be attached 'filing_a_small_claim.pdf'), it becomes somewhat garbled/mangled.

Specifically, list numbers and text overlap in some places.

The mangled/garbled file is 'filing_a_small_claim_1_mangled.pdf.odg'. It was obtained the following way:

1. I opened the source 'filing_a_small_claim.pdf' file in LibreOffice - LibreOffice used the "Draw" component to open it.

2. From the File menu I saved the file using "Save a Copy" feature.
Comment 1 Sergei Steshenko 2022-12-25 22:22:14 UTC
Created attachment 184343 [details]
The source file used to demonstrate the bug
Comment 2 Sergei Steshenko 2022-12-25 22:28:56 UTC
Created attachment 184344 [details]
Screenshot showing the problem

The right part of the screenshot shows correctly displayed in Okular source file; the left part of the screenshot shows garbled/mangled PDF as displayed by LibreOffice Draw.
Comment 3 Sergei Steshenko 2022-12-25 22:33:37 UTC
Please note that Scribus ( https://www.scribus.net/ ) and Xournal++ ( https://xournalpp.github.io/ ) display the source PDF file correctly and allow editing it (at least in the form of adding text).
Comment 4 Eyal Rozenberg 2022-12-25 23:12:47 UTC
Why are you opening that file in Draw? You should be opening it in Writer...

Not that it will look that much better, but still.
Comment 5 Sergei Steshenko 2022-12-25 23:16:30 UTC
(In reply to Eyal Rozenberg from comment #4)
> Why are you opening that file in Draw? You should be opening it in Writer...
> 
> Not that it will look that much better, but still.

I am opening the file in/from LibreOffice main file menu, and LibreOffice itself decides to open the file in Draw.
Comment 6 Buovjaga 2023-03-13 11:08:59 UTC
Repro. Already in 4.1.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 544d6d781b3c8aa108ced362d708693b5127f3d7
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 13 March 2023
Comment 7 Eyal Rozenberg 2023-03-17 11:19:42 UTC
(In reply to Sergei Steshenko from comment #5)
> I am opening the file in/from LibreOffice main file menu, and LibreOffice
> itself decides to open the file in Draw.

That's a different issue: Bug 14173...

regardless - in the file type menu, you can scroll down and find "Portable Document Format (Writer)" or something like that, and have it open in Writer.