Solved Libreoffice is exporting empty/blank PDFs, suspect locale problems

I am trying to export a PDF and when I do, all I get is an empty white document. If I highlight the text yellow, I do see yellow output where the text should be, just no text.

My locale is set to en_US.UTF-8 and my system also has Chinese fonts installed. I suspect that it has something to do with locale, but I'm not sure:

.login_conf:
Code:
me:\
    :lang=en_US.UTF-8:
    :charset=UTF-8:

locale:
Code:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=
 
That's a known bug (PR 247444). It's fixed in ports with version 6.4.5, but hasn't arrived as package in the quarterly and latest package repositories yet, however it should be available soon. If you are reluctant to build it from ports a workaround can be applied until a package is available. Try

 
Good find.

Yes:
env SAL_VCL_QT5_USE_CAIRO=yes libreoffice

Did the trick. I did experience a "garbled" window, but simply resizing the window fixed it. I will do this until the update is released.

Thanks,
 
Back
Top