Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Nov 23, 2017 8:02 am

We have PDF documents that are very large due to having many duplicate embedded fonts:

Many-duplicates.PNG


Using a service like compress-pdf of smallpdf.com (posting url's is not allowed ;-) ) I can reduce a 1948 KB file to 309 KB. One thing it does is reduce the number of embedded fonts:

No-duplicates.PNG


Is there a way to do this using Spire.PDF? I have been looking through the Spire.PDF Program Guide but couldn't find anything...

frank.van.eykelen
 
Posts: 2
Joined: Wed Nov 22, 2017 11:20 am

Thu Nov 23, 2017 8:25 am

Hello,

Thanks for your inquiry.
Sorry that our Spire.PDF does not support the feature of removing repeated embedded fonts. If you want to compress the pdf, you could try other approaches. Please refer to the following link to compress a pdf document.
https://www.e-iceblue.com/Tutorials/Spi ... B.NET.html

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Thu Nov 23, 2017 8:29 am

That's a shame. Thanks for your speedy reply!

frank.van.eykelen
 
Posts: 2
Joined: Wed Nov 22, 2017 11:20 am

Thu Nov 23, 2017 8:51 am

Hi,

Thanks for your reply.
Please feel free to contact us if you need any assistance.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.PDF