Acrobat is able to subset the font, but (IIRC) PoDoFo does not support 
subsetting.

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

When we do the same with Acrobat, I am not getting this much size.

Is anything difference from acrobat?

Is this the functionality of podofo?

Regards,
Dinesh

From: dennis [mailto:dennis.v...@dots.de]
Sent: 16 June 2015 16:48
To: Dineshkumar Ramalingam
Subject: Re: [Podofo-users] PDF file size is increasing after adding PdfFont

Hey,

Arial Unicode MS is a very big font. It contains almost every character out 
there.
You are creating this font in your mDoc. So your pdf file contains the whole 
font. Therefore its getting very big.

greets Dennis
Am 16.06.2015 um 09:02 schrieb Dineshkumar Ramalingam:
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<mailto:Podofo-users@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/podofo-users

------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to