Page 1 of 1
Printing Japanese text with imagettftext
Posted: Wed Nov 12, 2003 6:05 pm
by Suneo
I want to write a script that will generate a dynamic image that contains japanese text. The server is setup for japanese and I have the fonts that contain the japanese characters. This is the result image I get when I try to display japanese text with imagettftext:
http://suneo.no-ip.com/ttf.php Does anyone know what I have to do to get it to work?
Posted: Wed Nov 12, 2003 6:15 pm
by JAM
[php_man]setlocale[/php_man] or [php_man]header[/php_man] is a good place to start. Check the usercomments on setlocale for more information. I think that it just might help you.
Posted: Wed Nov 12, 2003 8:22 pm
by Suneo
no, it doesn't seem like that. I need a way for FreeType to display multibyte characters, I would really like a way that doesn't involve messing with source code as I get alot of problems when ever I try to compile php.