Vous avez écrit :
> > Another problem, at least I found it problematistic, was to have
> > all resources
> > in an unique object. I wrote
> > PdfTranslator::mergeResKey(PdfObject *base,PdfName key, PdfObject
> > *tomerge)
> > to adress this.
>
> I don't need that. Each included page becomes a separate XObject with
> its private
> Resources dictionary.

I do the same. But I found it was required to merge different keys from 
different Resources dictionaries into one  to attach to the XObject. My idea 
was it is possible to have a font entry in a Resource dict. at a page level 
whereas a colorspace or an XObject has to be inherited from an ancestor. It’s 
just an example but I think it indicates that at some point you could have to 
pack resources from different objects into one dictionnary, though I didn’t 
checked with PDFs from various apps if it ever happens.

-- 
Pierre Marchand

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to