Re: Using the pdf tags.

From: Date: Wed, 22 May 2002 17:39:27 +0000
Subject: Re: Using the pdf tags.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98773@lists.php.net to get a copy of this message
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. So: 1. pdf_save 2. pdf_rotate 3. pdf_show 4. pdf_restore miguel

« previous php.general (#98773) next »