PHP TrueType picture

untit1ed

New Member
Messages
13
Reaction score
0
Points
0
Hi,

I am just wondering if x10 allows creating truetype pictures using php?

I am just folowing this manual http://php.net/imagettftext
But it returns me an image with only "The image “http://.../iimage.php” cannot be displayed, because it contains errors." on it.

Thanks.

UPD: I think incorrect font name may cause that problem, because imagecreatetruecolor() function seems to work fine. Is there a list of available truetype fonts on x10?
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Not sure if they have any. Quick scan shows no .ttf files.

I just upload the fonts I need into a subdirectory of where the script is located.

Plenty of free fonts on the web.
 

untit1ed

New Member
Messages
13
Reaction score
0
Points
0
Not sure if they have any. Quick scan shows no .ttf files.

I just upload the fonts I need into a subdirectory of where the script is located.

Plenty of free fonts on the web.

Yeah, I just found out that I can actually use my own fonts =) Thanks.
 
Top