in reply to GD and creating a Banner

Irrelevant I'm sure, but $white isn't used.

Are you sure the font exists in the file as named? In particular, is the case of the file name correct?

Have you tried placing the text somewhere other than at the origin?

Does GD understand the font format?


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^2: GD and creating a Banner
by Xidus (Novice) on Aug 29, 2006 at 02:42 UTC
    $white isn't used because i was going to use it later, the font is definatly there and the font type is regconised (the stringFT is espically for TTF fonts) Although i haven't tried starting at the origin. Er, well i have now :) and it doesn't work. Thanks for the input but nah, it doesn't work.
      I take that back, it seems that if i create it at least 10 pixels away from the origin it works, Thanks :D Insight It turns out that it draws from the bottom left of the string so putting it at 0,0 made it invisible :)