Hi Dom,
Thanks for checking. I believe the font is embedded in function
PdfAcroForm::Init( )
I verified that the output PDF file embeds an extra font if PoDoFo encounters
the following line:
PdfPushButton testButton( page, PdfRect( 0,0,30,10 ), &document );
which reflects in ~400k file size increase.
the font is embedded at the following location: Root/AcroForm/DR/Font/Ft12
Thanks,
Ihab
> From: [email protected]
> To: [email protected]
> Subject: Re: [Podofo-users] Font embedding in PushButton
> Date: Fri, 11 Dec 2009 19:43:33 +0100
> CC: [email protected]
>
> Hi Ihab,
>
> I just read the relevant source code parts in the underground train and I
> can't see why PoDoFo would embedd a font automatically when creating a push
> button. Do you have a test case with more details?
>
> Best regards,
> Dom
>
> Am Freitag 11 Dezember 2009 schrieb Ihab Sultan:
> > Hi PoDoFo gurus,
> >
> >
> >
> > Is their a way to avoid embedding fonts in a PdfPushButton? I would like to
> > avoid embedding fonts for size concerns. seems PoDoFo embeds fonts
> > automatically once a button is created.
> >
> >
> >
> >
> >
> > Thanks for your continuous help.
> >
> > _________________________________________________________________
> > Windows Live Hotmail is faster and more secure than ever.
> > http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.aspx?o
> > cid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_1:092009
> >
>
>
> --
> **********************************************************************
> Dominik Seichter - [email protected]
> KRename - http://www.krename.net - Powerful batch renamer for KDE
> KBarcode - http://www.kbarcode.net - Barcode and label printing
> PoDoFo - http://podofo.sf.net - PDF generation and parsing library
> SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE
> Alan - http://alan.sf.net - A Turing Machine in Java
> **********************************************************************
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users