-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I have been investigating how OOo handles exporting to PDF in SuSE 10.2. I 
was intrigued because it seemed to behave different than what I remembered 
from 10.1. The PDF format can embed font definitions in the PDF file, but 
supposedly it doesn't embed some fonts it knows about, like "Times-Roman", 
saving considerable space. This was not happening. I have discovered that 
10.1 and 10.2 handle this quite differently, and I believe it is a bug.


I have done tests using OOo-writer in both SuSE 10.1 and 10.2, using three 
fonts: 1) The printer font "Times" (you need to select options/ writer/ 
compatibility "use printer metrics" to make this font appear). Supposedly, 
this font should never be embedded into the PDF file. 2) Truetype "Nimbus 
Roman No9 L", a free Times font, and 3) Truetype "Times New Roman", from 
Microsoft.

First I export to PDF from inside the OOo writer, then I print to 
postscript, finally I convert this .ps to PDF using "ps2pdf14 test.ps", 
and compare. The numbers in the table are the filesizes in bytes. I get 
the font info from the command "pdffonts test.pdf" (the filesize 
corroborating this).

I always use the same "test.odt" file for each test, changing only the 
font used in the text (same font for the whole file, but one single letter 
bigger point size).

This is the resulting table (watch for line wrap):


            |           Via OOo              |      Via ps2pdf14
 OOo writer +--------------------------------+--------------------------------
 font name  |  PDF   Emb  Pdf font name      |    PS    PDF   Emb  Pdf font name
- - 10.1 
-----+--------------------------------+---------------------------------
Times       |   2851  No    Times-Roman      |  10800   2552   No  Times-Roman
Nimbus_Roma | 118376  yes 2*NimbusRomNo9L-R  | 238186  11577  Yes  
NimbusRomNo9L-R
Times_New_R |  39305  yes   TimesNewRomanPSMT|  10800   2552   No  Times-Roman
            |                                |
- - 10.2 
-----+--------------------------------+---------------------------------
Times       |  117794  Yes 2*NimbusRomNo9L-R | 238418  11440  Yes 
NimbusRomNo9L-R
Nimbus_Roma |  117794  Yes 2*NimbusRomNo9L-R | 238418  11442  Yes 
NimbusRomNo9L-R
Times_New_R |   38924  Yes   TimesNewRomanPSM|  11035   2419   No  Times-Roman


In 10.1 the plain "Times" font (a printer font) is never embedded; this is 
correct, IMO.

But in 10.2 OOo always embeds the three fonts. "Times" is embedded as 
"NimbusRomNo9L-Regular", which I consider a BUG. 

It is curious to note that OOo embeds "Times New Roman" when exporting, 
but the info is not included into the .ps file, thus resulting in "ps2pdf 
test.ps" not embedding the font - this is peculiar.

It is also interesting to notice that OOo always embeds 
"NimbusRomNo9L-Regular" twice, resulting a pdf ten times bigger than the 
one generated through command line ps2pdf14.

Plus, in 10.2 I haven't found any font from the times family that OOo 
doesn't embeds.


- -- 
Cheers,
       Carlos E.R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGEZF8tTMYHG2NR9URAsHBAJ9yLCwPgPXFxm2FSWO2KqB40riENgCggTHi
dD7I+AJVOdjkifToz2fOPPM=
=DmTS
-----END PGP SIGNATURE-----

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to