Export or print to PDF - no text

I’m on Lubuntu 20.04 and Opaque’s solution worked for me!

For me it didn’t work (Lubuntu 20.04 LTS).

Found an answer that worked for me: SAL_USE_VCLPLUGIN=kf5 in LUBUNTU MENU: Preferences → LXQt settings → Session settings → Environment variables. Previously, it was set to qt5. The change to kf5 did it for me, finally.

1 Like

@anon73440385’s solution worked great for me! My LibreOffice installation spans over a decade, having survived several Ubuntu LTS upgrades, so it was probably some old leftover config file from a really old version causing this.

It seems that the problem is solved with the suggestion that Opaque wrote, with a few additions using the bash terminal:

sudo apt-get remove --purge libreoffice
dpkg --list | awk '/ii/&&/libreoffice/{print $2}' | sudo xargs apt purge -y
sudo apt autoremove -y
sudo apt install libreoffice

Regards,

1 Like

This works for me on Lubuntu 20.04!

then if the window of Tools>Options… and its font-size are too small, and if the symbols of the symbol bar are different, just visit:

For me it didn’t work, I still have that problem on Lubuntu 20.04 LTS even after trying this solution, or that one similar to this: Text not showing when exporting to PDF or printing in 6.4.4.2 - #8 by palimaar

Found an answer that worked for me: SAL_USE_VCLPLUGIN=kf5 in LUBUNTU MENU: Preferences → LXQt settings → Session settings → Environment variables. Previously, it was set to qt5. The change to kf5 did it for me, finally.

Make sure you have libreoffice-gtk3 installed, and libreoffice-qt5 uninstalled.

With the LUbuntu distribution 20.04.1 LTS (LXQt 0.14.1), if libreoffice-qt5 is installed, LibreOffice will use it. And this apparently kills printing and PDF exports. After I unistalled libreoffice-qt5, printing and PDF export from under LibreOffice started to work I think OK.

I did not have to reinstall the whole LibreOffice for that fix to work. My LUbuntu distribution 20.04.1 LTS was an upgrade from the previous 19 LUbuntu. No particular tweaks/tricks. After 20.04.1 LTS upgrade, LibreOffice, as others noted, stopped printing or exporting PDFs correctly.

This is amazing. It solved my problem. I followed the other advice and it took an hour or so to repair the damage done. Simply sudo apt remove libreoffice-qt5 solved my printing woes.

That worked without reinstalling the whole package!! Thanks a lot!!!

On my Lubuntu 20.04 LTS - system it doesn’t work, no matter if libreoffice-qt5 is installed or not.

Found an answer that worked for me: SAL_USE_VCLPLUGIN=kf5 in LUBUNTU MENU: Preferences → LXQt settings → Session settings → Environment variables. Previously, it was set to qt5. The change to kf5 did it for me, finally.

AndyLu’s solution also worked for me. I think it is the easiest way.

Lubuntu 20.04 LTS, LibreOffice updated to 7.0.6.2., same problem exporting to PDF. AndyLu’s super simple solution worked perfect.

Thank you very much, libreoffice 6.4.7.2 and lubuntu 20.04 got me gibberish pdf here.
Your solution swiftly solved the issue.
David

Your solution swiftly solved the issue.

Whose solution exactly? Your message arrived as a solution, not a comment for the actual solution that hes helped you - so it would not help anyone, but will distract people from the real solution, making them think there’s another way to resolve the problem.

Hi mikekaganski, thanks for pointing out the problem in my reply, I’m sorry, I thought I was replying to @anon73440385.
So thank you Opaque, your solution solved the issue.
Regards,
D

Had the same issue, turned out I was missing a font. LO used a fallback font for the screen but not when doing the export to PDF.