PDA

View Full Version : gd library function changed in php5!!



rizzoid
07-23-2006, 07:12 AM
I have a script that displays type over a jpeg, but since I switched to php5 from php4, it no longer indents that type!

One example is this:

ImageTTFText($im, 17, 2, 4, 155, $blue, $fontname, "Food Specials");

The number 4 above is supposed to indent my type 4 pixels but it no longer works that way. It is defaulting to zero (flush left) and looks terrible.

Has anyone had similar trouble? Thanks in advance

-rizzoid