Not off-hand, but if you know the general size of the font and how many 
pixels y, j, etc. extend below the baseline, you could just offset the text 
a bit to compensate.


Adrian Murphy wrote:

> cool, only i can't get it exactly centred in the y position
> cos the numbers are baseline related    i.e the letter 'y' goes under the
> line. any ideas?
> ----- Original Message -----
> From: "J Smith" <[EMAIL PROTECTED]>
> Sent: Thursday, February 14, 2002 6:48 PM
> Subject: [PHP] Re: center text on image

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to