BTW, just for the record. Another option to create a minimal PDF is to just
draw a line or a rectangle instead of some text.

Best regards,
 Dom

On Tue, Dec 27, 2011 at 1:53 AM, Alvaro Cuno <[email protected]> wrote:

> It is true, the pdf file is 1.1K (35 lines) changing to some Type 1
> font, thanks!
>
> -
> Alvaro
>
> On 26 December 2011 08:41, Dominik Seichter <[email protected]>
> wrote:
> > The size is because of embedded fonts. Try to not embedded any fonts.
> >
> > Am 26.12.2011 14:35 schrieb "Alvaro Cuno" <[email protected]>:
> >>
> >> Hello all, I would like to have a very small and simple pdf file for
> >> debugging purposes. I compiled the "helloworld" program in
> >> "podofo-0.9.1/examples/" and generated the pdf file correctly, however
> >> the pdf file size is 156K that is huge for visual analysis of its
> >> internal structure using a text editor. Is it necessary 156K for a
> >> simple "hello world" string? What is the most basic structure of a pdf
> >> file? Is PoDoFo capable generate a tiny helloworld pdf file (for
> >> example 100 bytes)?
> >>
> >> Thanks a lot
> >> -
> >> Alvaro
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Write once. Port to many.
> >> Get the SDK and tools to simplify cross-platform app development. Create
> >> new or port existing apps to sell to consumers worldwide. Explore the
> >> Intel AppUpSM program developer opportunity.
> appdeveloper.intel.com/join
> >> http://p.sf.net/sfu/intel-appdev
> >> _______________________________________________
> >> Podofo-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to