https://bugs.documentfoundation.org/show_bug.cgi?id=151552
--- Comment #4 from Eyal Rozenberg <[email protected]> --- (In reply to V Stuart Foote from comment #3) > Why is this a bug? I believe you're being facetious here, but: A PDF imported into Writer should (ignoring complex and esoteric PDF features) be rendered near-identically to its rendering in a PDF viewer. Or phrased otherwise: Printing the PDF and printing the Writer-imported PDF onto paper should result in almost-identical printed documents. If that seems too presumptuous, then at the very least that should hold for PDFs created by exporting Writer documents (ignoring complex and esoteric features). In particular, if words are spaced out within a line in the PDF, they should be spaced-out exactly, or almost-exactly the same way in the PDF-imported Writer document. > And I will restate the obvious LibreOffice is not a PDF editor! That is is obvious...ly wrong: LibreOffice is a PDF editor. Dictionary.com defines [1] editor as: "A program used for writing and revising code, data, or text" LO can open PDFs, make edits to the opened PDF, and save the result to a PDF. It's a poor PDF editor, but considering the lack of FOSS alternatives, and the fact that LO is installed so widely - it's the PDF editor of choice for many. If PDF import filters - in particular for Writer, but for Draw as well - would improve, LO could become a mediocre PDF editor. > The import filter results in draw Shape textboxes not LO paragraphs. That's an implementation detail. One could argue whether it's a good idea in general for a Writer import filter, but regardless - implementation details are not an excuse to mess up the import. > The > poppler based PDF import filter does not provide the spacings recorded into > PDF. So here's your bug. > We use it to convert the text runs held in PDF into draw Shape > objects--specifically textbox. The lack of "justified" filter import is > expected and by design. It's not what users expect, and if it was by design - the bug is in the design of the import filter. > We have pretty much the same result to canvas with the poppler based Impress > filter. Actually, that's not true, and I'll open a bug about the Draw filter separately; but the difference is not a good one... > If you need layout fidelity to the original PDF page, use the Insert PDF > filter! I need both layout fidelity and editability, and that's what the import filter should provide. [1] : https://www.dictionary.com/browse/editor -- You are receiving this mail because: You are the assignee for the bug.
