Bug 112340 - FILEOPEN FORMATTING: Missing/incorrect characters and incorrect formatting when importing PDF files into LibreOffice Draw
Summary: FILEOPEN FORMATTING: Missing/incorrect characters and incorrect formatting wh...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-12 04:49 UTC by Aaron Franke
Modified: 2017-09-12 21:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Image comparing Evince to LibreOffice Draw and showing the problems (420.09 KB, image/png)
2017-09-12 04:49 UTC, Aaron Franke
Details
Example PDF which experiences problems (156.46 KB, application/pdf)
2017-09-12 04:50 UTC, Aaron Franke
Details
ODT version of the example file (27.84 KB, application/vnd.oasis.opendocument.text)
2017-09-12 04:51 UTC, Aaron Franke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Franke 2017-09-12 04:49:07 UTC
Created attachment 136183 [details]
Image comparing Evince to LibreOffice Draw and showing the problems

PDF documents imported into LibreOffice Draw experience formatting problems. Spacing is wrong, symbols are missing, and even hypens are missing!

I have attached a sample file, written in LibreOffice Writer and exported to PDF, which experiences these problems when imported into LibreOffice Draw but is fine when viewed in Evince. I have also attached an image showing the problems, highlighted in red.

I experience this bug on LibreOffice Build ID: 1:5.1.6~rc2-0ubuntu1~xenial2 on Xubuntu 16.04.3 LTS 64-bit.
Comment 1 Aaron Franke 2017-09-12 04:50:09 UTC
Created attachment 136184 [details]
Example PDF which experiences problems
Comment 2 Aaron Franke 2017-09-12 04:51:24 UTC
Created attachment 136185 [details]
ODT version of the example file
Comment 3 V Stuart Foote 2017-09-12 21:01:47 UTC
Current 5.4 branch LibreOffice builds with new (bug 89727) pdfium based filter insert the PDF with near perfect fidelity. But for now no support to "break" the image (that is bug 106581) to be able to edit resulting Draw objects.

Alternatively, the legacy pdfio based import filter directly converts PDF elements to corresponding Draw objects. As noted its fidelity is low but that has always been deemed appropriate as Draw is _not_ a PDF editor.

The current state will likely not be improved much. And the pdfium based image insert filter has limits and needs Skia additional development.

Aside from LibreOffice's insert as image there are better programs external to LibreOffice for conversion of the PDF to other grpahic formats (vector and bitmap), and other editing programs more appropriate to use with PDF.

Also, if the source documents are ODF, preparing Hybrid PDF can be convenient way to handle need for PDF changes. Please explore the File -> Export to PDF dialog.