I had the same problem with not getting the image to display. What usually helps is a fresh install of php...change the php4ts.dll in your system folder and change the php.ini. Although it seemed as reinstalling my server was the thing that helped, although I can't be too sure about that 🙂
Do you get an image without using imagettftext() ?