[Libreoffice-bugs] [Bug 140005] Draw import of PDF squishes text together

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jan 29 22:13:46 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=140005

--- Comment #4 from Randy <rpeasley at saultchurch.com> ---
(In reply to V Stuart Foote from comment #3)
> LibreOffice is not a PDF "editor", we filter import a PDF document either as
> a single image (pdfium libs) or to multiple draw objects (pdfio).
> 
> The single image insert provides high fidelity to original PDF, but renders
> to fixed resolution raster of the first page of the PDF--bug 115811.
> 
> The other import filter will render the entire PDF as individual pages of a
> Draw ODF document.  However, the rendering must extract the text runs of the
> PDF and assign a font to them--the embedded subset fonts are not very useful
> as they are subset--how would you edit the result with a partial font? Bug
> bug 101220 is open for that.
> 
> If you need to clean up your PDF after import--it needs a functional font.
> The Ghostscript provided 'Nimbus Sans L Bold' and 'Nimbus Sans L Regular'
> the wkhtmltopdf generator has used are difficult to install. Ghostscript
> does not install them as TTF system fonts. When the PDF is imported the
> fonts appear as uninstalled (the font name for a selected glyph is
> itallics)--for this document NimbusSansL and NimbusSansLu
> 
> Meaning to clean up your imported PDF pages, you'll need to assign a
> replacement font. Best if you can obtain the Nimbus Sans--but if not
> Helevetica or Arial/Arial Black are not too far off.
> 
> You can use the Tools -> Options -> Fonts 'Apply replacement table'. The
> Fonts replacement table can be reversed. While setting the 'Always' checkbox
> will use the replacements from the table on print or export.
> 
> *** This bug has been marked as a duplicate of bug 101220 ***

Thanks for the help.  One clarification.  I was able to get the Nimbus SansL
font.  I followed your directions, but I wasn't sure what font to select as the
font to be replaced (there is a "Font" box and a "Replacement Font" box).  I
selected Nimbus SansL as the replacement font.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210129/119ae9cd/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list