I use the function imageTTFtext allows you to specify a string with a font
and a font point size.

Hope that helps.

Chris

-----Original Message-----
From: Cranky [mailto:[EMAIL PROTECTED]
Sent: 27 October 2003 10:16
To: [EMAIL PROTECTED]
Subject: [PHP] Change text size with GD


Hello,
I would like to draw text in a rectangle on an image.
The text must take all the place in the rectangle.

The trouble is that with imagestring(), there are only 5 fonts (1, 2, 3, 
4, 5) and the bigger (5) is still too smaller for my rectangle.

Is there another way to change the size of the text ?

Thanks a lot

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
 
If you are not the intended recipient of this e-mail, please preserve the
confidentiality of it and advise the sender immediately of any error in
transmission. Any disclosure, copying, distribution or action taken, or
omitted to be taken, by an unauthorised recipient in reliance upon the
contents of this e-mail is prohibited. Somerfield cannot accept liability
for any damage which you may sustain as a result of software viruses so
please carry out your own virus checks before opening an attachment. In
replying to this e-mail you are granting the right for that reply to be
forwarded to any other individual within the business and also to be read by
others. Any views expressed by an individual within this message do not
necessarily reflect the views of Somerfield.  Somerfield reserves the right
to intercept, monitor and record communications for lawful business
purposes.

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

Reply via email to