[reportlab-users] Rotated paragraph/document with ReportLab (vertical text)

Jesus Sanchez-Palencia jesus at eventick.com.br
Tue Nov 6 10:47:37 EST 2012


Hi! Thanks for answering!

On Tue, Nov 6, 2012 at 12:19 PM, Robin Becker <robin at reportlab.com> wrote:

> rotations will not normally affect the page size so if you want a page

> that's 80 x 250 you should specify that. Again if you don't want to rotate

> the text why use the extended class (even if the rotation has been removed).

> Rotations work around an origin, in our case that's the bottom left hand

> corner of the page x=0 y=0.


I DO want to rotate the text. I was just saying that the output I want
is exactly what that code is doing, but rotated by 90 degrees counter
clockwise.

About the rotation, so if I first translate the origin to the center
of the document (point (40, 125) for a 80x250 document, right?) and
then rotate(90) it should do what I am expecting, right?

cheers,
jesus



> --

> Robin Becker

>

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at lists2.reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users



More information about the reportlab-users mailing list