Bug 82163 - LibreOffice Draw cannot render embedded font in pdf
Summary: LibreOffice Draw cannot render embedded font in pdf
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
(earliest affected) release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
: 115390 (view as bug list)
Depends on:
Blocks: PDF-Import-Draw
  Show dependency treegraph
Reported: 2014-08-05 01:40 UTC by Doug
Modified: 2021-02-16 11:14 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:

Magazine front page PDF (259.96 KB, application/pdf)
2014-08-08 01:11 UTC, Doug
Screenshot of the formating issue referenced in this ticket (449.37 KB, image/png)
2020-11-07 06:50 UTC, unwantedbox

Note You need to log in before you can comment on or make changes to this bug.
Description Doug 2014-08-05 01:40:47 UTC
Opened PDF in Draw (vr the magazine title was rendered as 34567. Should have been The WATCHTOWER with ANNOUNCING JEHOVAH'S KINDOM below.
Also happened in 4.2 don't remember the rest of the version number.
Ubuntu 14.04x64
Here is snapshot of PDF in Draw>>http://imgur.com/lh2BVpY
Comment 1 Jean-Baptiste Faure 2014-08-05 17:12:21 UTC Comment hidden (obsolete)
Comment 2 Doug 2014-08-05 19:03:59 UTC Comment hidden (obsolete)
Comment 3 Doug 2014-08-08 01:11:48 UTC
Created attachment 104251 [details]
Magazine front page PDF
Comment 4 Doug 2014-08-08 01:15:04 UTC Comment hidden (obsolete)
Comment 5 Owen Genat (retired) 2014-08-09 08:12:28 UTC
Thanks for providing the cut-down example. Confirmed under GNU/Linux using v4.3.0.3 Build ID: 08ebe52789a201dd7d38ef653ef7a48925e7f9f7. Related forum thread:


Status set to NEW. Severity set to enhancement (as this functionality has likely never existed). The request is to include something like the PDF Viewer (pdf.js) plug-in used in Firefox to allow use of embedded font subsets for accurate rendering:

Comment 6 Jouni Järvinen 2015-02-09 23:57:05 UTC
Reproducible on, Win7 x64. Will render just fine on Foxit Reader but misses stuff on LO. Looks the same as the screenshot in comment 1.
Comment 7 Andrey Skvortsov 2017-05-31 14:03:54 UTC
The problem still exist in LO 5.2.7 GNU/Linux amd4.
Comment 8 Buovjaga 2018-02-24 15:34:18 UTC
*** Bug 115390 has been marked as a duplicate of this bug. ***
Comment 9 scottie 2019-10-14 05:52:42 UTC
in Version 6.3.2, text still overflows boundaries in Libreoffice Draw after the pdf file opened.

in pdf reader (adobe reader), the pdf is displayed as normal with embedded fonts.

fixing this would be a big improvement to libreoffice draw as well as a fix to enable a very common/basic/fundamental use case.

thanks to software engineers for diligent work
Comment 10 Gibtnix 2019-10-23 16:00:21 UTC
Besides using the embedded font (which obviously would be the best option), maybe it might also be an idea to implement a similar functionality like Inkscape does? If you import a PDF into Inkscape you can choose if it should be imported using Inksacpe itself (which also replaces fonts as LO Draw does) or if you want to open it using Poppler. The latter only allows you to modify the text as shapes but not as text, but does not change any fonts or layouts. Since Inkscape only works with single-page documents, a similar dual-import PDF function in LO Draw would also be pretty useful.
Comment 11 David 2020-01-27 18:23:42 UTC

Still happening in I have this problem at least once at week. Is there a way I can help with this?
Comment 12 jeremia 2020-08-21 21:54:08 UTC
The bug remains in v7.0.0.3.
Because the font changes when opening the pdf in LibreOffice Draw the layout becomes incorrect as text boxes changes size when the font is incorrect, which results in incorrect text overlapping. Very annoying!
Comment 13 unwantedbox 2020-11-07 06:48:56 UTC
This issue still exists in - Ubuntu 20.04

Example file used: https://www.irs.gov/pub/irs-pdf/fw4.pdf

When imported, the formatting is destroyed. I believe this is due to missing the embedded fonts. This also isn't some fancy document, just a government form.

While I understand why this was labeled enhancement due to a feature that never existed, it sure feels like a bug, and of course would be great to get this functionality, especially since it looks like it has been a request for 6 years.

Note, if I'm able to, I would like to update the ticket to Draw instead of "filters and storage"? If I'm wrong in doing so, please feel free to change it back.
Comment 14 unwantedbox 2020-11-07 06:50:23 UTC
Created attachment 167071 [details]
Screenshot of the formating issue referenced in this ticket