Well,
My script uses GD2 and a font called 'smudger.ttf' (http://www.myfonts.com/fonts/linotype/smudger) to write text on a resized image. It then writes the image to file.
It works perfectly on my test machine running XP, Apache, PHP and bundled GD. When I Transfer it to the red hat server my hosting comapny (www.ipowerweb.com) runs my site off, it doesn't work. It knows the font is there as it says "Could not read font" instead of "Could not find/open font". Also of note is that when I try the windows fonts arial.ttf or tahoma.ttf, I get a "page cannot be found" from my browser - not the standard apache 404 error page (has the server crashed or something?).
Does anyone have any idea how to fix this or why it's happened? It's a bit of a wierd problem, as it works perfectly on my windows xp setup.