Yesterday I decided to switch my GD library from gd.dll to gd2.dll... big
mistake

Now, when I try to create text using imageTTFtext( ), I get the error
message of

Warning: Could not find/open font in
C:\server\scryt_pages\members\interface\buttons\base.php  on line 53

I've tried the suggestions I found at PHP beginner, but still no luck. Any
ideas?

Ty

Stephen

Tried code:

imageTTFtext( $Button_Image, $FontSize, 0, $X_Coord, $Y_Coord,
$Colour_Button_Text, "./BERNHC", $Button_Text );
and
imageTTFtext( $Button_Image, $FontSize, 0, $X_Coord, $Y_Coord,
$Colour_Button_Text, "./BERNHC.ttf", $Button_Text );
and
imageTTFtext( $Button_Image, $FontSize, 0, $X_Coord, $Y_Coord,
$Colour_Button_Text, "C:\server\PHP\fonts\BERNHC.ttf", $Button_Text );

The font is located in C:\server\PHP\fonts, and
C:\server\scryt_pages\members\interface\buttons AND ALSO
C:\server\scryt_pages\members\interface

Bit silly really :-\



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to