You are embedding a very large font, which is why the file size increase.  Use 
a smaller font.

From: Dineshkumar Ramalingam
Date: Tuesday, June 16, 2015 at 3:02 AM
To: 
"podofo-users@lists.sourceforge.net<mailto:podofo-users@lists.sourceforge.net>"
Subject: [Podofo-users] PDF file size is increasing after adding PdfFont

Hi,

My PDF file size is getting increased after creating/embedding font to the 
document.

Code which we used:
PdfMemDocument mDoc("D\\4_page_bw_bookmark.pdf");
mDoc.CreateFont("Arial Unicode MS");
mDoc.Write("D:\\output_pdf.pdf");

Input PDF Size: 7.84 KB
After adding font: 14.4 MB

This result is not acceptable by our customer.

Input pdf file is attached.

Can anyone please help me to resolve this issue.

Regards,
Dinesh




::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.
----------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to