[opensuse] Re: PDF File conversion
![](https://seccdn.libravatar.org/avatar/0724cd2fec38c7b6f662bb7fda14c68c.jpg?s=120&d=mm&r=g)
"Carlos E. R."
You see already that via ps2pdf there is an important size reduction, more that 50%.
The printer approach is fine when you are just doing static documents for prepress. However, with this approach one looses features such as hyerlinks and hyperlined TOC, etc. Charles
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2008-06-24 at 20:31 -0400, Charles philip Chan wrote:
"Carlos E. R." <> writes:
You see already that via ps2pdf there is an important size reduction, more that 50%.
The printer approach is fine when you are just doing static documents for prepress. However, with this approach one looses features such as hyerlinks and hyperlined TOC, etc.
Absolutely. However, Mark's file can do without that. The problem is, I have no real idea why OOo PDF files are so large. There is the font issue, yes, and some embedded fonts are too big, but I don't know if that is all that is happening. Then there is the images included. I don't know the original DPI of those images, tuning for that size would do some improvement. Funnily, tuning for 150 DPI results in a larger file than tuning for 300 DPI. Then, instead of lossy compression at index 90, we could use 75 [...] no big difference. Funny, if I say "don't reduce resolution, don't use lossy compression", the file is smaller: from 460009 to 413919, for a 4 page document. That's the best I can get with OOo writer using "Times" font, although OOo insists on converting to "NimbusRomNo9L" instead. [...] uau. I removed the two photographs, ant using text only, Times font, the file occupies a lot: - -rw-r--r-- 1 cer users 362030 2008-06-25 02:54 4-pages-mod-tremis-nofoto.pdf name type emb sub uni object ID - ------------------------------------ ----------------- --- --- --- --------- NimbusRomNo9L-Medi Type 1 yes no yes 160 0 NimbusRomNo9L-MediItal Type 1 yes no yes 155 0 NimbusRomNo9L-Regu Type 1 yes no yes 150 0 Compared to the file with the two photos: - -rw-r--r-- 1 cer users 413919 2008-06-25 02:57 4-pages-mod-tremis.pdf name type emb sub uni object ID - ------------------------------------ ----------------- --- --- --- --------- NimbusRomNo9L-Medi Type 1 yes no yes 164 0 NimbusRomNo9L-MediItal Type 1 yes no yes 154 0 NimbusRomNo9L-Regu Type 1 yes no yes 159 0 So the big problem with OOo is the fonts. Confirmed. Now, why on earth does it insist on using NimbusRomNo9L* instead of the selected "Times"! I don't understand. :-/ I have no idea where it does that font mapping. Nowhere in the options menu. Must be hardcoded domewhere. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIYZk1tTMYHG2NR9URAjxVAKCDxbirBDdTmb905u/ZddtJqDGxGwCglnm1 zvctHWEHzk3/5dGVY8h2qag= =WS/p -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/0724cd2fec38c7b6f662bb7fda14c68c.jpg?s=120&d=mm&r=g)
"Carlos E. R."
However, Mark's file can do without that.
I wasn't too sure, the OP just said newsletter which could be printed or electronic. I can certainly see where hyperlinks and TOC will come in handy, if it is electronic.
The problem is, I have no real idea why OOo PDF files are so large. There is the font issue, yes, and some embedded fonts are too big,
No, all embedded font sets are too big- OOo emebeds the whole charset instead of the subset needed.
but I don't know if that is all that is happening.
Neither do I.
Funnily, tuning for 150 DPI results in a larger file than tuning for 300 DPI.
Strange indeed.
That's the best I can get with OOo writer using "Times" font, although OOo insists on converting to "NimbusRomNo9L" instead. ... Now, why on earth does it insist on using NimbusRomNo9L* instead of the selected "Times"! I don't understand. :-/
This is because the Times typeface is mapped to Nimbus Roman in Ghostscript's font.map file: ,---- | karnak@MagnumOpus:/usr/share/ghostscript/fonts> cat font.map | grep Times | | Times-Bold n021004l | Times-BoldItalic n021024l | Times-Italic n021023l | Times-Roman n021003l `---- ,---- | karnak@MagnumOpus:/usr/share/ghostscript/fonts> head -n 5 n021003l.afm | StartFontMetrics 2.0 | Comment Generated by pfaedit | Comment Creation Date: Tue Dec 31 16:49:50 2002 | FontName NimbusRomNo9L-Regu | FullName Nimbus Roman No9 L Regular `---- Nimbus Roman is a cloned Times typeface and is part of the 35 fonts donated by URW to replace the common fonts found with Postscript printers. Charles
participants (2)
-
Carlos E. R.
-
Charles philip Chan