chocopi Posted June 29, 2007 Share Posted June 29, 2007 How do you change the font size when using imagestring() ?? I know you can choose between 1 and 5 but since I added in a font, I do not know how to specify the font size Here is my code: imagestring($captcha, 5, 20, 10, $string, $colour); but as soon as i replace the 5 with my $font, it becomes tiny Thanks, ~ Chocopi Quote Link to comment Share on other sites More sharing options...
Lumio Posted June 29, 2007 Share Posted June 29, 2007 What does $font contain? Quote Link to comment Share on other sites More sharing options...
marcus Posted June 29, 2007 Share Posted June 29, 2007 5 is the generic font size, which is leading to a default font. You can't change a font size within a GDF font unless it's recompiled with the size you wish. Quote Link to comment Share on other sites More sharing options...
chocopi Posted June 30, 2007 Author Share Posted June 30, 2007 kool thanks, its not really a problem, so i will leave it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.