-----Message d'origine----- > > I've included this in my code and its working fine but there's still a > > strange shift from the top on the subsequent pages ...
> Well, the cause is the "default leading". "Leading" is the name given in the > PDF Reference for > the space between the baselines of two lines. As long as nothing has been > added to a document, > the default leading is 0; as soon as you add a paragraph, the default leading > changes into the > default leading of that paragraph. > > In your case: on page 1, the default leading is 0. > On the pages that follow, the default leading is probably 18. > > How to solve this? Maybe you can wrap the image inside a paragraph. Yes, it was the leading ! There's so many paging parameters it's hard to find out which one is the good one ! You made such a great job reading (and understandind) the PDF Reference/ISO 32000-1, I'm really impressed !! Thanks again Manuel ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ 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/
