Bug 247479

Summary: editors/libreoffice PDF export broken
Product: Ports & Packages Reporter: bergerkos
Component: Individual Port(s)Assignee: FreeBSD Office Team <office>
Status: Closed DUPLICATE    
Severity: Affects Only Me CC: bergerkos, lcook, rhurlin
Priority: --- Flags: bugzilla: maintainer-feedback? (office)
Version: Latest   
Hardware: Any   
OS: Any   

Description bergerkos 2020-06-22 15:18:03 UTC
In version 6.4.4 built locally PDF exported from Writer documents contain no fonts, only random symbols. The same behaviour observed in version 6.4.4.2 installed from officially built packages (separate installation for testing purposes).

The same about printing to file (PDF).

On the other hand, printing to file from Firefox on the same system works fine.

Tested under CURRENT.
Libreoffice build summary:
Options        :
	CUPS           : on
	DOCS           : on
	GNOME          : off
	GTK3           : off
	JAVA           : off
	KF5            : off
	MMEDIA         : on
	PGSQL          : off
	QT5            : on
	SDK            : off
	TEST           : off
	WEBDAV         : on
Shared Libs required:
	libjpeg.so.8
	libfreetype.so.6
	libfreehand-0.1.so.1
	libOsi.so.1
	libe-book-0.1.so.1
	libSM.so.6
	liblpsolve55.so
	libepubgen-0.1.so.1
	libCoinMP.so.1
	libpoppler.so.100
	libxmlsec1.so.1
	libnss3.so
	libclucene-core.so.1
	librevenge-0.0.so.0
	libglib-2.0.so.0
	libXrender.so.1
	libQt5X11Extras.so.5
	libicuuc.so.67
	libboost_iostreams.so.1.72.0
	libboost_filesystem.so.1.72.0
	libClp.so.1
	libQt5Network.so.5
	libintl.so.8
	libhunspell-1.7.so.0
	libXrandr.so.2
	liborcus-0.15.so.0
	libicui18n.so.67
	libXinerama.so.1
	liblcms2.so.2
	libneon.so.27
	libXext.so.6
	libcairo.so.2
	libICE.so.6
	libxml2.so.2
	libQt5Widgets.so.5
	libstaroffice-0.0.so.0
	libClpSolver.so.1
	libxcb.so.1
	liblber-2.4.so.2
	libltdl.so.7
	libX11.so.6
	libclucene-shared.so.1
	libgobject-2.0.so.0
	libcdr-0.1.so.1
	libCgl.so.1
	libclucene-contribs-lib.so.1
	libpng16.so.16
	libgstbase-1.0.so.0
	libraptor2.so.0
	libmspub-0.1.so.1
	libfontconfig.so.1
	libCbcSolver.so.3
	libexpat.so.1
	libxslt.so.1
	libwpd-0.10.so.10
	libepoxy.so.0
	libCbc.so.3
	libcups.so.2
	libCoinUtils.so.3
	libpagemaker-0.0.so.0
	libplc4.so
	libzmf-0.0.so.0
	libharfbuzz-icu.so.0
	libexttextcat-2.0.so.0
	libboost_locale.so.1.72.0
	libboost_date_time.so.1.72.0
	libnssutil3.so
	libodfgen-0.1.so.1
	libvisio-0.1.so.1
	libqrcodegencpp.so.1
	libharfbuzz.so.0
	libgstvideo-1.0.so.0
	libgraphite2.so.3
	libmythes-1.2.so.0
	libgstaudio-1.0.so.0
	libhyphen.so.0
	libabw-0.1.so.1
	libsmime3.so
	libxmlsec1-nss.so.1
	libetonyek-0.1.so.1
	libpython3.7m.so.1.0
	libwpg-0.3.so.3
	librevenge-stream-0.0.so.0
	libcurl.so.4
	libqxp-0.0.so.0
	libQt5Gui.so.5
	libnumbertext-1.0.so.0
	libwps-0.4.so.4
	libldap-2.4.so.2
	libgstreamer-1.0.so.0
	librdf.so.0
	libssl3.so
	libnspr4.so
	libmwaw-0.3.so.3
	libQt5Core.so.5
	liblangtag.so.1
	libplds4.so
	libexslt.so.0
	libmysqlclient.so.20
	libgstpbutils-1.0.so.0
	libOsiClp.so.1
	libcmis-0.5.so.5
	liborcus-parser-0.15.so.0
	libxcb-icccm.so.4
Shared Libs provided:
	libuno_cppu.so.3
	libuno_purpenvhelpergcc3.so.3
	libuno_salhelpergcc3.so.3
	libuno_cppuhelpergcc3.so.3
	libuno_sal.so.3

(Im)possible workaround: Changing default printing method to PS (Tools > Print > uncheck the box for PDF as default printing method) and print to PS file, then convert to PDF using pdf2ps. That works fine.
So, only PDF printing doesn't work. At that, images, tables and graphical objects are inserted in PDF all right. Only text is missing.
Comment 1 bergerkos 2020-06-22 15:27:52 UTC
Sorry, I mean Tools > Options > Print.
Comment 2 bergerkos 2020-06-22 17:17:24 UTC
This may be related to CURRENT, so I posted to the mailing list there. Some people report version 6.4.4 exports to PDF all right under 12.1-p6. I can't double that as I'm still using 6.3.6 under 12.1. That one works fine, but is discouraged via security advisory.
Comment 3 Rainer Hurling freebsd_committer 2020-06-22 17:46:15 UTC
This PR seems to be the same as bug #247444
Comment 4 Lewis Cook freebsd_committer freebsd_triage 2020-06-22 17:59:28 UTC
Please continue any further discussion relating to this issue in bug#247444 to help consolidate the potential cause, thanks.

*** This bug has been marked as a duplicate of bug 247444 ***