views:

344

answers:

0

I'm using a PHP script that I found a while back that lets you specify text in a GET variable and it will convert it to a transparent PNG. This allows me to use non web safe fonts in my websites without having to manually convert each piece of text to an image.

I've run into a slight problem, though, as seen here: http://imagebin.ca/view/KIk65-6.html.

The text on the left is what I've been using as my main page headers. Looks good. I want to change the menu text to use the same font. So I tried the PHP script and it's creating the image with a white rigid border on the text. Not good.

The PHP script can be found here: pastebin.com/m5ec21d98

Is this a bug with the code or with GD? How can this be fixed? :/