120113 Florian Philipp wrote: > Am 13.01.2012 11:32, schrieb Philip Webb: >> I've been in the habit of creating PDFs of .odt files using LibreOffice. >> I was reminded of 'ps2pdf', which resulted in : >> -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 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.
That needs Java, which I am definitely not going to re-install (smile). > Maybe one of them uses a stupid internal structure. OpenOffice was notorious for legacy bloat, so that would make sense. LO devs have managed to remove a large amount of useless code. > I couldn't reproduce this with app-office/libreoffice-3.4.3.2-r1 > & cups-pdf , which should use the same backend as ps2pdf . > the files were nearly equal in size, c 60 kB for about 1 page of text. My file has 14 pp of simple text. I've now uploaded the files above & everyone can inspect them & their structure at http://www.chass.utoronto.ca/~purslow/test/ I've renamed the PDFs to show their origin, ie LibreOffice + Ghostscript. Perhaps that will allow others to investigate. I will also have a look at Cups-pdf & at Willie Wong's suggestions. PS the file is a list of books I've noted as worth reading, so it may have a wider (OT) interest than simply to solve this problem. -- ========================,,============================================ SUPPORT ___________//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT `-O----------O---' purslowatchassdotutorontodotca