> Converting a font is not possible in PHP, and so offtopic.
I don't want to convert font in PHP.
I wanto to create this font under linux or windows to use if with
imageloadfont().
I just can't find the tool to do this :(
I need to write vertical text.
Use the "angle" parameter for imagettftext() to specify what direction
to write the text.
I know that :)
I only see an error message. ;( Could you post your code?
Hmmmm, it works on my computer.
header("content-type:image/png");
$Image=ImageCreate(400,30);
$black=ImageColorAllocate($Image,0,0,0);
$white=ImageColorAllocate($Image,255,255,255);
imagefill($Image, 0, 0, $white);
ImageTTFText($Image, 10, 0, 10, 20, $black,
"/home/ozi/public_html/image/verdana.ttf","This is verdana 10");
ImagePNG($Image, "/home/ozi/public_html/image/im.png");
ImageDestroy($Image);
echo '<img src="im.png" border="0"><br />';
echo 'This is verdana 10 from css file (body { font: normal 10px
Verdana; })!';
Screenshot:
http://reglowa.ktr.pl/~ozi/image/example.html
ozi