Am 13.01.2012 11:32, schrieb Philip Webb: > I've been in the habit of creating PDFs of .odt files using LibreOffice. > Today somewhere, I was reminded of 'ps2pdf', which I'd never used before. > The result is these 4 files : > > -rw-r--r-- 1 purslow users 34475 Jan 12 07:52 boox.odt > -rw-r--r-- 1 purslow users 366711 Jan 13 04:05 boox.pdf > -rw-r--r-- 1 purslow purslow 830909 Jan 13 04:07 boox.ps > -rw-r--r-- 1 purslow purslow 67184 Jan 13 04:07 boox-test.pdf > > Both PDFs seem the same when opened with Xpdf or Okular, > but the difference in sizes is striking : > the PDF created with LO direct export is 5 times > the size of the PDF created with a test run of Ps2pdf ; > the .ps file created with LO & then used for the latter is even bigger. > > Can anyone explain what is going on ? >
Try the pdfdebugger provided by dev-java/pdfbox to inspect both files. Maybe one of them uses a stupid internal structure. BTW: I couldn't reproduce this with app-office/libreoffice-3.4.3.2-r1 and cups-pdf (which should use the same backend as ps2pdf). The files were nearly equal in size (ca. 60kB for about 1 page of text). Regards, Florian Philipp
signature.asc
Description: OpenPGP digital signature