Bug 129893 - import pdf to write is misformatted
Summary: import pdf to write is misformatted
Status: RESOLVED DUPLICATE of bug 101220
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.3.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-08 21:28 UTC by rupert.thurner
Modified: 2020-01-09 03:46 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
pdf which cannot be will converted to writable document (100.66 KB, application/pdf)
2020-01-08 21:29 UTC, rupert.thurner
Details
all pages of PDF inserted to Writer pages (522.29 KB, application/vnd.oasis.opendocument.text)
2020-01-09 03:37 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rupert.thurner 2020-01-08 21:28:27 UTC
Description:
pdf opened to write into it is mis-formatted.

Steps to Reproduce:
open pdf to edit in libreoffice, e.g. the one attached.


Actual Results:
it is misformatted.

Expected Results:
it stays formatted like when using online services to convert a pdf to odt or docx.



Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 rupert.thurner 2020-01-08 21:29:39 UTC
Created attachment 157019 [details]
pdf which cannot be will converted to writable document
Comment 2 V Stuart Foote 2020-01-09 03:37:53 UTC
Created attachment 157027 [details]
all pages of PDF inserted to Writer pages

LibreOffice is not a PDF editor, and PDF is not an editable format. The filter based import of PDF (by default to the Draw module) will convert to some semblance of the original layout, but does not render using embedded font subset. The replacement font can be pretty far off.

Otherwise, the PDF pages inserted to document canvas are fully rendered.

In the attached, each page of the PDF was extracted, and then inserted as an image to a Writer document.

It can't be edited, but then again--LibreOffice is not a PDF editor!
Comment 3 V Stuart Foote 2020-01-09 03:46:19 UTC
The import 'opening' of a PDF into Writer or Draw will receive a font fallback. The embedded subset font may but likely will not be present on system--and if not, the imported opening of the PDF will have poor fidelity to the original PDF.

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