Export or print to PDF - no text

No - LibreOffice is preinstalled as part of the Lubuntu 20.04 distribution. Note immediately after installation, there was an update which was carried out (not sure if LO was updated as part of the update) - but again, this was from the Lubuntu update stream.

Actually, just reloaded the Lubuntu 20.04 live disk, opened LO Write (pre-installed) , typed in some random text then exported to PDF. Had the same result - the text wasn’t visible. So this issue can be reproduced on the live disk, without any changes

Appears the issue has been raised in Lubuntu forums:

As PDF exports work with other system apps, unsure if the issue is with LibreOffice or the Lubuntu configuration.

1 Like

Could reproduce your problem, but it seems to be fixed now on Lubuntu 20.04 (not sure what action actually fixed it, but some minutes ago, I’ve performed a completely new install using sudo apt install libreoffie after having removed everything related to LibreOffice dpkg --list | awk '/ii/&&/libreoffice/{print $2}' | sudo xargs apt purge -y and sudo apt autoremove -y

Hello. I was dealing with the same problem, also. I recently also did a fresh install of Lubuntu 20.04 LTS… Thanks for reporting this problem, marcusadamski. However, I did exactly what Opaque suggest and I also don’t know how but this solve the exporting PDF problem with LibreOffice. Thanks, Opaque!

I have the same problem with LibreOffice 6.4.3.2 that came with Lubuntu 20.04 Omar’s (Opaque’s) solution works.

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.