[Libreoffice-bugs] [Bug 132764] PDF export produces empty documents in Lubuntu

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 25 16:34:58 UTC 2020


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

--- Comment #9 from Simone Tommasini <simone73tommasini at gmail.com> ---
Ciao to everyone.
I got it! As I suspected, the problem comes from Lubuntu 20.04 itself but the
fix is easy to get.

The answer is here:
https://discourse.lubuntu.me/t/libreoffice-export-to-pdf-has-no-text/1042


In particular I paste here from the site above:

"Best solution/workaround at present seems to be this…
Go to LUBUNTU MENU: Preferences -> LXQt settings -> Session settings ->
Environment variables

Then, add this:
Variable Name: SAL_VCL_QT5_USE_CAIRO
Fill the Value with: true

Restart your computer, and it will resolve the fonts rendering while exporting
documents to a PDF on LibreOffice.
(There is just one small inconvenience – see below).

A few other people have hit this too, however it has been reported and
discussed elsewhere as problem with PRINTING from LibreOffice (see “Printing
problem with 20.04” in this forum). The connection between these two
manifestations of a problem is that LibreOffice generates a PDF, which is then
sent to be printed via CUPS. Without the above (or similar) fix, the generated
PDF is invalid, because the required fonts fail to get embedded.

A MINOR INCONVENIENCE : with this “fix” in place, you will always have to start
either LibreOffice-writer, LibreOffice-calc, -draw, -impress, etc, because
trying to start “bare” LibreOffice will throw an error. In my opinion this is a
minor inconvenience compared to not being able to export to PDF, or print
anything at all."

Since it's the first time I write to Libreoffice, Timur, would you mind move
yourself the bug from Libreoffice to where you wrote me yesterday?
Thank you very much! Ciao. Simone

-- 
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/20200525/d15c22b9/attachment.htm>


More information about the Libreoffice-bugs mailing list