PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Sep 27, 2024 3:15 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Sep 26, 2024 8:58 am 
Offline

Joined: Fri Aug 09, 2024 5:06 am
Posts: 8
Hi all,
I am using the 6.2 preview version of PDFSharp. When ever i am saving the document with the file size is reducing. While i am checking the fonts attached, the file has more fonts. Is there any way to keep all the fonts and keep the original file size intact?

Thanks,
Hyder


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 26, 2024 9:44 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 984
Location: CCAA
hsikkandar wrote:
Is there any way to keep all the fonts and keep the original file size intact?
It is by design that the file is newly written and that some changes occur.
It is by design that new fonts are added when new text is added.

PDFsharp is open source and if you implement changes that allow PDFsharp to add text while using the available fonts from the PDF file, we will gladly review your pull request.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 26, 2024 10:11 am 
Offline

Joined: Fri Aug 09, 2024 5:06 am
Posts: 8
Thanks Thomas for the prompt reply. I understand while we add new text the font will be added. My query is, the reduction of file size while saving the file after the addition of text?

Thanks
Hyder


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 57 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group