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.
inconsistent PDF size export from machine to machine
inconsistent PDF size export from machine to machine
- Attachments
-
- test_svc2.pdf
- (86.69 KiB) Downloaded 235 times
-
- test_svc.pdf
- (106.12 KiB) Downloaded 169 times
Re: inconsistent PDF size export from machine to machine
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.
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
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.
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
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.
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.