Gents,

We're using PdfSmartCopy to concatenate documents, and one thing that is
becoming a serious problem for us is that imported Font and FontDescriptor
objects are being replicated on page import. Only FontFile stream objects
are cached and re-referenced.

Specifically, we are concatenating several thousand single page documents
that contain only two Base-14 fonts, Helvetica and Helvetica-Bold, with
uniform encoding. After the concat, the font objects are replicated for each
page import resulting in thousands of redundant objects. This, of course,
adds to the size of the output, but that's not our concern - it's what it
does to conversion engines and RIP font-ends on large printers. When you
convert that PDF to PostScript you will typically end up with thousands of
embedded fonts as there is no easy way for the conversion engine to know
that the font definitions have been replicated. In some cases, this is an
absolute killer.

Would it be possible to enhance PdfSmartCopy/PdfWriter such that replicated
Font and FontDescriptor objects reference just the original object as
opposed to being replicated? It seems like this would be a worth while
enhancement that would serve the community well in the long run.

Thanks - Gylfi



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to