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.
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.
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.
Kind regards, pl
--
If you give someone a program, you will frustrate them for a day;
if you teach them how to program, you will frustrate them for a lifetime.
-- Author unknown
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]