Alexander, I'm copying the Dev group as someone in that group probably has some ideas.
My ideas ... would be that the transformation matrix which we consider in pdfbox.pdfviewer.PageDrawer routines (such as processTextPosition, approx line 179) is not being considered in the case of an Overlay. I'm not sure that's the right answer ... but that's where I'd start looking. Daniel On Fri, Apr 2, 2010 at 12:21 PM, Alexander B <[email protected]>wrote: > > > 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 > > > >
