Rumik wrote:...That changes the size of the font just fine, but it doesn't reduce the size of the image - is this possible too?
That exactly what's the first line should do !
The
imagettfbbox function will fitt / reduce the "image size" (the red bar), that's why it's being used in the first place.
Just try to leave to "10" value to an 11 (thge first occurance) - you'll see what I mean.
The Red image bar will be ajusted for 11 point text size, and thus be mutch longer. The text, actually drawn in the second function, will be shorter.
Rumik wrote:...I think I'll just stick to the text version, as it wraps.
One of my old Roster dreams is that the MOTD text image will wrap (if longer then x characters).
mdeshane , I'll toys with your upload, that's fore sure ^^