On Wed, 22 May 2002, Jeff Hatcher wrote:
> Does anyone know of a way to rotate text in a pdf?
> I can rotate an image and rotate a page but can not seen to rotate text.

You're using PDFlib?

It works just fine, but you have to understand how PostScript works. 
Calling PDF_rotate rotates the entire page beneath you by that amount. 
Call it first, THEN draw your text.

It may be sensible to wrap the whole thing in a PDF_save and PDF_restore
so you don't have to keep track and manually unrotate.


1. pdf_save
2. pdf_rotate
3. pdf_show
4. pdf_restore


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to