pChart 2.x forum
http://wiki.pchart.net/forum/

how to output Chinese ?
http://wiki.pchart.net/forum/viewtopic.php?f=3&t=237
Page 1 of 1

Author:  kkker [ Sat Feb 12, 2011 6:21 pm ]
Post subject:  how to output Chinese ?

Server: CentOS 5.5
HTTP: lampp 1.7.3a
pChart: 2.1.0
i copy an example script from pChart example page, and copy simkai.ttf to fonts/, edit $myPicture->setFontProperties, and save the .php file with utf-8 code.
but it can't output Chinese correctly.
how can i do ?

Author:  zhengwhizz [ Fri Apr 27, 2012 1:37 am ]
Post subject:  Re: how to output Chinese ?

i also have the problem,
Warning: imagettfbbox() [function.imagettfbbox]: Invalid font filename in
Warning: imagettftext() [function.imagettftext]: Invalid font filename in

and i already copied the font file from the system, my php file is UTF8 .
how to slove it???

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/