[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#343356: openoffice.org: Exported PDF files are large (use subset compact fonts?)



Package: openoffice.org
Version: 2.0.0-5
Severity: wishlist

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 115 KB file:

-rw-r--r-- 1 vlefevre spaces 117066 2005-12-14 17:13:55 test.pdf

dixsept:~> pdffonts test.pdf
name                                 type         emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
NimbusRomNo9L-Regu                   Type 1       yes no  yes      9  0

If I do the following:

  pdftops test.pdf
  ps2pdf test.ps test2.pdf

I get a 2 KB file only:

-rw-r--r-- 1 vlefevre spaces   2227 2005-12-14 17:39:56 test2.pdf

dixsept:~> pdffonts test2.pdf
name                                 type         emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
CBWACD+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).

OpenOffice should do that automatically (by default).

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4-20051012
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages openoffice.org depends on:
ii  openoffice.org-base           2.0.0-5    OpenOffice.org office suite - data
ii  openoffice.org-calc           2.0.0-5    OpenOffice.org office suite - spre
ii  openoffice.org-core           2.0.0-5    OpenOffice.org office suite archit
ii  openoffice.org-draw           2.0.0-5    OpenOffice.org office suite - draw
ii  openoffice.org-impress        2.0.0-5    OpenOffice.org office suite - pres
ii  openoffice.org-java-common    2.0.0-5    OpenOffice.org office suite Java s
ii  openoffice.org-math           2.0.0-5    OpenOffice.org office suite - equa
ii  openoffice.org-writer         2.0.0-5    OpenOffice.org office suite - word

openoffice.org recommends no packages.

-- no debconf information

Attachment: test.odt
Description: application/vnd.oasis.opendocument.text


Reply to: