[reportlab-users] FW: linkAnnotate and linkRect, relative to transforms

Tim Roberts timr at probo.com
Thu Apr 12 17:23:46 EDT 2007


Ian Sparks wrote:

> Tim Roberts Wrote:

>

>> This does *not* move the origin 5 inches up. It moves the origin 2.5

>> inches up, because everything is already scaled down by 50%.

>>

>

> Good point. I have a pretty good track record of being an idiot[1] but

> look at the test PDF (attached, generated from trunk). What do you see?

> To my eye that text is 5 inches up the page, not 2.5 and when I look at

> the generated raw PDF commands it doesn't smell right.

>

> Please take another look and let me know your thoughts.

>


canvas.showPage resets the transform to [1 0 0 1 0 0] (or [1 0 0 -1 0 x]
if top-down is set). You start over with each page.

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the reportlab-users mailing list