Ask Your Question

LibreOffice Writer export pdf does not embed fonts

asked 2020-05-04 01:19:27 +0100 gravatar image

updated 2020-09-01 12:47:16 +0100

Alex Kemp gravatar image

I have a fresh install of Lubuntu 20.04. I have installed LibreOffice When I export directly as pdf, the document produced is smaller pdf file than the original odt file. Furthermore, using command line pdffonts <filename>.pdf shows that there are no exported fonts. If I open the file with qpdfview, the file is blank.

Next, if I use the command line: libreoffice --export-to pdf <filename>.odt, it produces a file <filename>.pdf of the proper size. When I use the pdffonts command as above, it shows the proper embeded font. If I open the file with qpdfview, the file is displayed properly.

It does not matter what font is used: Liberation Serif, Times New Roman, etc.

Is this a bug?


edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted

answered 2020-05-04 06:25:39 +0100

JohnSUN gravatar image

Please choose File - Export As - Export as PDF, General tab and verify this option:


edit flag offensive delete link more


I tried this option, but it stil does not work... For testing purposes, I modified my form to use "Liberation Sans" font for a few text area fields.

When I launch pdffonts, I can see the new font... but not embedded !

name                                 type              encoding         emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
BAAAAA+DejaVuSans-Bold               TrueType          WinAnsi          yes yes yes     15  0
CAAAAA+DejaVuSans                    TrueType          WinAnsi          yes yes yes     20  0
LiberationSans                       TrueType          WinAnsi          no  no  no      22  0

Any suggestion ?

ThierryH2 gravatar imageThierryH2 ( 2020-10-11 10:49:21 +0100 )edit

answered 2020-05-05 04:58:59 +0100

I am no expert at all. Just I also had this problem in Lubuntu 20.04 with LibreOffice 6.4.x. The solution provided by @wxl in Lubuntu forum (Printing problem with 20.04) worked smoothly for a while to me and suddenly, out of the blue, it stopped exporting PDF. Then I found this solution in another post here in Ask LibreOffice and now I am back on the road! It can help you momentarily until we figure out what is really happening.

My suspect is LibreOffice ;D

AskLibreOffice :: Cannot print anything...

edit flag offensive delete link more

answered 2020-05-04 20:05:31 +0100

doktoroblivion gravatar image

@KevinR, JohnSUN is correct, check this option when using that option.

image description

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-05-04 01:19:27 +0100

Seen: 1,024 times

Last updated: May 05 '20