so i figured out that the PDF has a rotation angle embedded in the PDPage. For my base document, this is 270. My overlay document has 0.
any ideas about how to take the rotation into account when applying the overlay? I tried resetting it to zero in the base doc, but the overlay was still not in the intended position. ________________________________ From: Alexander B <[email protected]> To: [email protected] Sent: Thu, April 1, 2010 9:37:08 AM Subject: Re: overlay is rotated If someone can give me a starting point, that would help me. I really need to figure this out...so I will debug, fix, submit the fix for review if necessary. Also, I meant 90 degrees Thank you in advance! --- On Wed, 3/31/10, Alexander B <[email protected]> wrote: From: Alexander B <[email protected]> Subject: overlay is rotated To: [email protected] Date: Wednesday, March 31, 2010, 8:12 PM When I run Overlay.java on these two files, the overlay is rotated 90%. What am I doing wrong? This doesn't happen for all documents, only a few. -alexander

