Hi Phillip,

Philipp Lohmann wrote:
Giuseppe Castagno wrote:
Hi all,

in the Italian OOo user list a question was asked about why the PDF file
size is almost always bigger in Linux wrt Windows, even when the file,
Writer in this case, is exactly the same.

One of the ideas that popped up the way the fonts are embedded in PDF.

So, just to investigate, I had a look about this topic by looking in the
source code.

It seems to me that the main decision about embedding is made in:

SRC680_m212 - vcl/source/gdi/pdfwriter_impl.cxx:5443

is it right or I'm talking nonsense?

Yes and no. The font is already selected at the time through the mysterious workings of the SalLayout derivatives.

any hints where go digging for this?


And: this difference in PDF size, can it be related to the different
display system in the two platforms?

On Linux systems there usually are more Type1 fonts available than on Windows. Type1 fonts do not get subsetted, so the whole file gets in.

hmm, so I gather from this that only True Type or Open Type fonts can be
subsetted on both platforms, right?


That is, I noticed that the same document is not displayed in the same
way in Linux wrt Windows, whereas the PDF generated in the two platforms
reflects the way the document is displayed in that platform; ending up
with two visually different PDF, depending on the platform (Windows or
Linux) they were generate on.

Any idea about how this behavior can be controlled best or minimized?

Have the same font files on both platforms.

Thank, I'll do some test.

The reason why I'm asking all this is to report back to OOo user list,
and to improve my knowledge for a migration to OOo from another office
suite.

--
Kind Regards,
Giuseppe Castagno (beppec56)
Acca Esse http://www.acca-esse.eu
[EMAIL PROTECTED]



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

Reply via email to