Bruno (& folks), Using the unmodified MovieCountries1.java from SVN (Rev. 4521) and several JVMs, I continue to generate the same problem my own code experiences. When the total pages number is written to the template's canvas, the position is directly above the expected target. For your reference, I have attached 2 PDFs, one as produced by the native code, and another with compression set to zero (thought that might help with the diagnosis some how).
Here are the version spews for the 3 Java versions I tried this with: C:\>"C:\Program Files\Java\jre6\bin\java.exe" -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing) C:\>C:\bea103\jrockit-jdk1.6.0_20-R28.1.0-4.0.1\bin\java.exe -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Oracle JRockit(R) (build R28.1.0-123-138454-1.6.0_20-20101014-1351-windows-ia32, compiled mode) C:\>C:\bea922\jrockit90_150_10\bin\java.exe -version java version "1.5.0_10" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03) BEA JRockit(R) (build R27.2.0-131-78843-1.5.0_10-20070320-1457-windows-ia32, compiled mode) Hope this helps find a solution. -James
chapter05.7z
Description: Binary data
------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php