Your message dated Sat, 30 Sep 2017 01:52:48 +0200
with message-id <20170929235248.dafd22l5yrnr52mr@central>
and subject line libreoffice: Exported PDF files are large (use subset compact
fonts?)
has caused the Debian Bug report #708531,
regarding libreoffice: Exported PDF files are large (use subset compact fonts?)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
708531: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708531
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libreoffice
Version: 1:4.0.3-2
Severity: wishlist
This OpenOffice problem http://bugs.debian.org/343356 also exists in
LibreOffice.
When I export a document to PDF, the generated PDF file is always very
large. I've included a simple test example. When I convert it to PDF,
I get a 102 KB file:
-rw-r--r-- 1 vlefevre vlefevre 102K 2013-05-16 15:09:54 test.pdf
ypig:~> pdffonts test.pdf
name type emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
NimbusRomNo9L-Regu Type 1 yes no yes 9 0
"ps2pdf test.pdf out.pdf" gives a much smaller file:
-rw-r--r-- 1 vlefevre vlefevre 3773 2013-05-16 15:18:26 out.pdf
ypig:~> pdffonts out.pdf
name type emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
QOYQBZ+NimbusRomNo9L-Regu Type 1C yes yes no 8 0
There seem to be 2 improvements:
1. The Compact Font Format (CFF) is used.
2. Only a subset is included (as most characters aren't used).
LibreOffice should do that automatically (by default).
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'oldstable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.8-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libreoffice depends on:
ii fonts-sil-gentium-basic 1.1-5
ii libreoffice-base 1:4.0.3-2
ii libreoffice-calc 1:4.0.3-2
ii libreoffice-core 1:4.0.3-2
ii libreoffice-draw 1:4.0.3-2
ii libreoffice-filter-mobiledev 1:4.0.3-2
ii libreoffice-impress 1:4.0.3-2
ii libreoffice-java-common 1:4.0.3-2
ii libreoffice-math 1:4.0.3-2
ii libreoffice-report-builder-bin 1:4.0.3-2
ii libreoffice-writer 1:4.0.3-2
ii python-uno 1:4.0.3-2
ii ttf-dejavu 2.33+svn2514-3
Versions of packages libreoffice recommends:
ii fonts-liberation 1.07.2-6
ii libpaper-utils 1.1.24+nmu2
ii ttf-mscorefonts-installer 3.5
Versions of packages libreoffice suggests:
ii cups-bsd 1.5.3-5
ii default-jre [java5-runtime] 1:1.6-47
ii gcj-4.4-jre [java5-runtime] 4.4.7-1
ii gcj-4.6-jre [java5-runtime] 4.6.4-2
ii gcj-4.7-jre [java5-runtime] 4.7.3-2
ii gcj-jre [java5-runtime] 4:4.7.2-1
pn gstreamer1.0-ffmpeg <none>
pn gstreamer1.0-plugins-bad <none>
pn gstreamer1.0-plugins-base <none>
pn gstreamer1.0-plugins-good <none>
pn gstreamer1.0-plugins-ugly <none>
pn hunspell-dictionary <none>
pn hyphen-hyphenation-patterns <none>
ii iceape [iceape-browser] 2.7.12-1
ii iceweasel 20.0-1
ii imagemagick 8:6.7.7.10-5
ii libgl1-mesa-glx [libgl1] 8.0.5-4+b1
pn libreoffice-gnome | libreoffice-kde <none>
pn libreoffice-grammarcheck <none>
pn libreoffice-help-4.0 <none>
pn libreoffice-l10n-4.0 <none>
pn libreoffice-officebean <none>
ii libsane 1.0.22-7.4
ii libxrender1 1:0.9.7-1
ii myspell-en-us [myspell-dictionary] 1:3.3.0-4
pn mythes-thesaurus <none>
pn openclipart-libreoffice <none>
ii openjdk-6-jre [java5-runtime] 6b27-1.12.5-1+b1
ii pstoedit 3.62-1
pn unixodbc <none>
Versions of packages libreoffice-core depends on:
ii fontconfig 2.9.0-7.1
ii fonts-opensymbol 2:102.2+LibO4.0.3-2
ii libatk1.0-0 2.8.0-2
ii libboost-date-time1.53.0 1.53.0-4
ii libc6 2.17-2
ii libcairo2 1.12.14-4
ii libcmis-0.3-3 0.3.1-3
ii libcups2 1.5.3-5
ii libcurl3-gnutls 7.30.0-2
ii libdbus-1-3 1.6.10-1
ii libdbus-glib-1-2 0.100.2-1
ii libexpat1 2.1.0-3
ii libexttextcat-2.0-0 3.4.0-4
ii libfontconfig1 2.9.0-7.1
ii libfreetype6 2.4.9-1.1
ii libgcc1 1:4.8.0-7
ii libgdk-pixbuf2.0-0 2.28.1-1
ii libglib2.0-0 2.36.1-2build1
ii libgraphite2-3 1.2.1-2
ii libgstreamer-plugins-base1.0-0 1.0.7-1
ii libgstreamer1.0-0 1.0.7-1
ii libgtk2.0-0 2.24.17-2
ii libhunspell-1.3-0 1.3.2-4
ii libhyphen0 2.8.6-2
ii libice6 2:1.0.8-2
ii libicu48 4.8.1.1-12
ii libjpeg8 8d-1
ii liblangtag1 0.5.1-1
ii liblcms2-2 2.2+git20110628-2.2
ii libldap-2.4-2 2.4.31-1+nmu2
ii libmythes-1.2-0 2:1.2.2-1
ii libneon27-gnutls 0.29.6-3
ii libnspr4 2:4.9.6-1
ii libnss3 2:3.14.3-1
ii libnss3-1d 2:3.14.3-1
ii libpango1.0-0 1.30.0-1
ii libpng12-0 1.2.49-4
ii librdf0 1.0.16-1
ii libreoffice-common 1:4.0.3-2
ii libsm6 2:1.2.1-2
ii libssl1.0.0 1.0.1e-2
ii libstdc++6 4.8.0-7
ii libx11-6 2:1.5.0-1
ii libxext6 2:1.3.1-2
ii libxinerama1 2:1.1.2-1
ii libxml2 2.8.0+dfsg1-7+nmu1
ii libxrandr2 2:1.3.2-2
ii libxrender1 1:0.9.7-1
ii libxslt1.1 1.1.26-14.1
ii libxt6 1:1.1.3-1
ii uno-libs3 4.0.3-2
ii ure 4.0.3-2
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages libreoffice-writer depends on:
ii libc6 2.17-2
ii libgcc1 1:4.8.0-7
ii libicu48 4.8.1.1-12
ii libreoffice-base-core 1:4.0.3-2
ii libreoffice-core 1:4.0.3-2
ii libstdc++6 4.8.0-7
ii libwpd-0.9-9 0.9.8-1
ii libwpg-0.2-2 0.2.1-1
ii libwps-0.2-2 0.2.8-2
ii libxml2 2.8.0+dfsg1-7+nmu1
ii uno-libs3 4.0.3-2
ii ure 4.0.3-2
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages libreoffice-writer recommends:
ii default-jre [java5-runtime] 1:1.6-47
ii gcj-4.4-jre [java5-runtime] 4.4.7-1
ii gcj-4.6-jre [java5-runtime] 4.6.4-2
ii gcj-4.7-jre [java5-runtime] 4.7.3-2
ii gcj-jre [java5-runtime] 4:4.7.2-1
ii libreoffice-java-common 1:4.0.3-2
ii libreoffice-math 1:4.0.3-2
ii openjdk-6-jre [java5-runtime] 6b27-1.12.5-1+b1
Versions of packages libreoffice-writer suggests:
ii libreoffice-base 1:4.0.3-2
pn libreoffice-gcj <none>
Versions of packages libreoffice-calc depends on:
ii libc6 2.17-2
ii libgcc1 1:4.8.0-7
ii liborcus-0.4-0 0.3.0-7
ii libreoffice-base-core 1:4.0.3-2
ii libreoffice-core 1:4.0.3-2
ii libstdc++6 4.8.0-7
ii libzip2 0.10.1-1.1
ii lp-solve 5.5.0.13-7
ii uno-libs3 4.0.3-2
ii ure 4.0.3-2
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages libreoffice-base depends on:
ii default-jre [java5-runtime] 1:1.6-47
ii gcj-4.4-jre [java5-runtime] 4.4.7-1
ii gcj-4.6-jre [java5-runtime] 4.6.4-2
ii gcj-4.7-jre [java5-runtime] 4.7.3-2
ii gcj-jre [java5-runtime] 4:4.7.2-1
ii libc6 2.17-2
ii libgcc1 1:4.8.0-7
ii libhsqldb1.8.0-java 1.8.0.10+dfsg-3
ii libreoffice-base-core 1:4.0.3-2
ii libreoffice-core 1:4.0.3-2
ii libreoffice-java-common 1:4.0.3-2
ii libstdc++6 4.8.0-7
ii openjdk-6-jre [java5-runtime] 6b27-1.12.5-1+b1
ii uno-libs3 4.0.3-2
ii ure 4.0.3-2
Versions of packages libreoffice-base recommends:
ii libreoffice-writer 1:4.0.3-2
Versions of packages libreoffice-base suggests:
pn libmyodbc | odbc-postgresql | libsqliteodbc | tdsodbc | mdbtools <none>
pn libmysql-java | libpg-java | libjtds-java <none>
pn libreoffice-gcj <none>
pn libreoffice-report-builder <none>
pn unixodbc <none>
Versions of packages libreoffice-draw depends on:
ii libc6 2.17-2
ii libcdr-0.0-0 0.0.13-2
ii libdbus-1-3 1.6.10-1
ii libdbus-glib-1-2 0.100.2-1
ii libgcc1 1:4.8.0-7
ii libglib2.0-0 2.36.1-2build1
ii libicu48 4.8.1.1-12
ii liblcms2-2 2.2+git20110628-2.2
ii libmspub-0.0-0 0.0.6-1
ii libreoffice-core 1:4.0.3-2
ii libstdc++6 4.8.0-7
ii libvisio-0.0-0 0.0.26-3
ii libwpd-0.9-9 0.9.8-1
ii libwpg-0.2-2 0.2.1-1
ii libxml2 2.8.0+dfsg1-7+nmu1
ii uno-libs3 4.0.3-2
ii ure 4.0.3-2
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages libreoffice-impress depends on:
ii libc6 2.17-2
ii libgcc1 1:4.8.0-7
ii libreoffice-core 1:4.0.3-2
ii libreoffice-draw 1:4.0.3-2
ii libstdc++6 4.8.0-7
ii uno-libs3 4.0.3-2
ii ure 4.0.3-2
Versions of packages libreoffice-impress suggests:
ii bluez 4.99-2
Versions of packages libreoffice-math depends on:
ii fonts-opensymbol 2:102.2+LibO4.0.3-2
ii libc6 2.17-2
ii libgcc1 1:4.8.0-7
ii libreoffice-core 1:4.0.3-2
ii libstdc++6 4.8.0-7
ii uno-libs3 4.0.3-2
ii ure 4.0.3-2
-- no debconf information
test.odt
Description: application/vnd.oasis.opendocument.text
--- End Message ---
--- Begin Message ---
Hello,
The PDF is really better with LO 5.4 :
$ ls -l
-rw-r--r-- 1 lkppo lkppo 5697 sept. 30 01:43 test.odt
-rw-r--r-- 1 lkppo lkppo 5886 sept. 30 01:43 test.pdf
$ pdffonts test.pdf
name type encoding emb sub uni object ID
---------------------- -------- -------- --- --- ---------
BAAAAA+LiberationSerif TrueType WinAnsi yes yes yes 9 0
Regards,
--
Stéphane Aulery
--- End Message ---