1 |
120113 Florian Philipp wrote: |
2 |
> Am 13.01.2012 11:32, schrieb Philip Webb: |
3 |
>> I've been in the habit of creating PDFs of .odt files using LibreOffice. |
4 |
>> I was reminded of 'ps2pdf', which resulted in : |
5 |
>> -rw-r--r-- 1 purslow users 34475 Jan 12 07:52 boox.odt |
6 |
>> -rw-r--r-- 1 purslow users 366711 Jan 13 04:05 boox.pdf |
7 |
>> -rw-r--r-- 1 purslow purslow 830909 Jan 13 04:07 boox.ps |
8 |
>> -rw-r--r-- 1 purslow purslow 67184 Jan 13 04:07 boox-test.pdf |
9 |
>> Both PDFs seem the same when opened with Xpdf or Okular, |
10 |
>> but the PDF created with LO direct export is 5 times |
11 |
>> the size of the PDF created with a test run of Ps2pdf ; |
12 |
>> the .ps file created with LO & then used for the latter is even bigger. |
13 |
>> Can anyone explain what is going on ? |
14 |
> Try the pdfdebugger provided by dev-java/pdfbox to inspect both files. |
15 |
|
16 |
That needs Java, which I am definitely not going to re-install (smile). |
17 |
|
18 |
> Maybe one of them uses a stupid internal structure. |
19 |
|
20 |
OpenOffice was notorious for legacy bloat, so that would make sense. |
21 |
LO devs have managed to remove a large amount of useless code. |
22 |
|
23 |
> I couldn't reproduce this with app-office/libreoffice-3.4.3.2-r1 |
24 |
> & cups-pdf , which should use the same backend as ps2pdf . |
25 |
> the files were nearly equal in size, c 60 kB for about 1 page of text. |
26 |
|
27 |
My file has 14 pp of simple text. I've now uploaded the files above |
28 |
& everyone can inspect them & their structure at |
29 |
|
30 |
http://www.chass.utoronto.ca/~purslow/test/ |
31 |
|
32 |
I've renamed the PDFs to show their origin, ie LibreOffice + Ghostscript. |
33 |
Perhaps that will allow others to investigate. |
34 |
|
35 |
I will also have a look at Cups-pdf & at Willie Wong's suggestions. |
36 |
|
37 |
PS the file is a list of books I've noted as worth reading, |
38 |
so it may have a wider (OT) interest than simply to solve this problem. |
39 |
|
40 |
-- |
41 |
========================,,============================================ |
42 |
SUPPORT ___________//___, Philip Webb |
43 |
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto |
44 |
TRANSIT `-O----------O---' purslowatchassdotutorontodotca |