[NTG-pdftex] Re: Optimizing the generated pdf

Martin Schröder martin at oneiros.de
Thu Nov 17 12:49:15 CET 2005

On 2005-11-17 11:39:06 +0100, Hans Hagen wrote:
> Martin ??? wrote:
         ^^^ :-(((
> >If we start optimizations like these, it would be nice to move
> >the /MediaBox to the root object (or pages) and write it only for
> >different-sized pages (Hans: ConTeXt writes /TrimBox and /CropBox
> >on every page (even if they are allways the same); adding them to
> >pdfpagesattr instead would save quite some space -- look at
> >pdftex-a.pdf).
> >
> context can have mixed page sized in one document (which i need -)

Of course. But typical documents have one page size. Write the
default in pdfpagesattr and only differences in pdfpageattr.


> >Btw: Is there a tool that compresses a pdf by replacing identical
> >objects with references?
> > 
> acrobat professional?

cmdline on Linux, please.

> in pdftex it would mean calculating a checksum for each object before 
> flushing it; it may slow down things a bit

Not much.


More information about the ntg-pdftex mailing list