Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] PDF puzzle
Date: Fri, 13 Jan 2012 18:23:24
Message-Id: 4F10762D.2090906@binarywings.net
In Reply to: [gentoo-user] PDF puzzle by Philip Webb
1 Am 13.01.2012 11:32, schrieb Philip Webb:
2 > I've been in the habit of creating PDFs of .odt files using LibreOffice.
3 > Today somewhere, I was reminded of 'ps2pdf', which I'd never used before.
4 > The result is these 4 files :
5 >
6 > -rw-r--r-- 1 purslow users 34475 Jan 12 07:52 boox.odt
7 > -rw-r--r-- 1 purslow users 366711 Jan 13 04:05 boox.pdf
8 > -rw-r--r-- 1 purslow purslow 830909 Jan 13 04:07 boox.ps
9 > -rw-r--r-- 1 purslow purslow 67184 Jan 13 04:07 boox-test.pdf
10 >
11 > Both PDFs seem the same when opened with Xpdf or Okular,
12 > but the difference in sizes is striking :
13 > the PDF created with LO direct export is 5 times
14 > the size of the PDF created with a test run of Ps2pdf ;
15 > the .ps file created with LO & then used for the latter is even bigger.
16 >
17 > Can anyone explain what is going on ?
18 >
19
20 Try the pdfdebugger provided by dev-java/pdfbox to inspect both files.
21 Maybe one of them uses a stupid internal structure.
22
23 BTW: I couldn't reproduce this with app-office/libreoffice-3.4.3.2-r1
24 and cups-pdf (which should use the same backend as ps2pdf). The files
25 were nearly equal in size (ca. 60kB for about 1 page of text).
26
27 Regards,
28 Florian Philipp

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] PDF puzzle : files available Philip Webb <purslow@××××××××.net>