I am !shocked.

--Mark Storer 
  Senior Software Engineer 
  Cardiff.com

#include <disclaimer> 
typedef std::Disclaimer<Cardiff> DisCard; 



> -----Original Message-----
> From: Leonard Rosenthol [mailto:[email protected]]
> Sent: Monday, December 14, 2009 10:30 AM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] PDF "laggy" because of bleeding?
> 
> 
> Don't assume - you know what that means ;).
> 
> Acrobat does not render as you describe...
> 
> Leonard
> 
> -----Original Message-----
> From: Mark Storer [mailto:[email protected]] 
> Sent: Monday, December 14, 2009 1:03 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] PDF "laggy" because of bleeding?
> 
> I suspect the reason you're seeing the page rendered 
> all-at-once instead of progressively is because when a page 
> is imported, it's wrapped in an XObject Form.
> 
> I'm guessing that Acrobat draws things as they appear in the 
> page's content stream.  When it runs into an XObject form, it 
> renders the whole thing off-screen and then displays it in 
> one fell swoop.
> 
> PS: The content stream isn't terribly efficient.  There are 
> quite a few redundant color operations:
> 
> 0.000 0.000 0.000 1.000 k (26 bytes with a newline)
> 
> This could be replace with:
> 
> 0 0 0 1 k (10 bytes)
> 
> or even
> 
> 0 g (4 bytes)
> 
> Sheesh.  And they do it Over and Over Again.  At least it'll 
> compress well.</wry grin>
> 
> PPS: You're losing the form fields from the original 
> document.  Use PdfCopyFields instead of PdfWriter if you wish 
> to maintain them.
> 
> PPPS: My theory on the XObject wrapping doesn't explain why 
> other documents DON'T display the same way.  Huh.
> 
> --Mark Storer 
>   Senior Software Engineer 
>   Cardiff.com
> 
> #include <disclaimer> 
> typedef std::Disclaimer<Cardiff> DisCard; 
> 
> 
> --------------------------------------------------------------
> ----------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> iText-questions mailing list
> [email protected]
> 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/

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
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/


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
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