inconsistent PDF size export from machine to machine

Stimulsoft Reports.NET discussion
Post Reply
User avatar
midspace
Posts: 25
Joined: Tue Sep 10, 2013 12:20 am
Location: Melbourne, Australia

inconsistent PDF size export from machine to machine

Post 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.
Attachments
test_svc2.pdf
(86.69 KiB) Downloaded 157 times
test_svc.pdf
(106.12 KiB) Downloaded 143 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: inconsistent PDF size export from machine to machine

Post 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.
User avatar
midspace
Posts: 25
Joined: Tue Sep 10, 2013 12:20 am
Location: Melbourne, Australia

Re: inconsistent PDF size export from machine to machine

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: inconsistent PDF size export from machine to machine

Post 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.
Post Reply