Page 1 of 1

inconsistent PDF size export from machine to machine

Posted: Mon Jul 25, 2016 6:59 am
by midspace
We're using Stimulsoft expressly for generating various PDF files, however we are getting wildly differing file sizes for the exact same content from machine to machine.

In our code, StiPdfExportSettings does have the Compressed set to true for all PDF exporting.

I have attached two examples, generated from the same content by 2 different computers that do not include images.
One is running Windows Server 2008 R2, and the PDF is 108KB
Two is running Windows 8.1 x64, and the PDF is 87KB

At the moment, I'm just looking for a good explanation as to why there are significant file size differences in basic content (no images).
And a good way to explain to customers how to further reduce them.

Re: inconsistent PDF size export from machine to machine

Posted: Tue Jul 26, 2016 9:25 am
by HighAley
Hello.

It seems that there are different versions of fonts that are embedded in PDF files.
The different versions of fonts have different size so you get different sizes of PDF files with embedded fonts.

Thank you.

Re: inconsistent PDF size export from machine to machine

Posted: Tue Jul 26, 2016 11:29 pm
by midspace
Thanks, that is what I was hoping to hear.

Windows Server 2008 R2, has Arial version 5.20, at 755 KB in size.
Windows Server 2008 R2, has Arial Bold version 5.20, at 732 KB in size.
Windows 8.1 x64, has Arial 6.87, at 874 KB in size.
Windows 8.1 x64, has Arial Bold 6.87, at 837 KB in size.

Even though the later Font versions is larger in total size, I'm guessing the specific subset in the PDF is smaller.

We've got enough information to encourage our users to use newer operatings systems! Thanks heaps.

Re: inconsistent PDF size export from machine to machine

Posted: Thu Jul 28, 2016 10:33 am
by HighAley
Hello.

When we prepare fonts to embedded it in PDF, we remove unused symbols. In most of cases it decreases the size of the file significantly.
But there are some information tables in font files that we don't touch. It seems that there are more such tables in the older font files.

Thank you.