View unanswered posts | View active topics It is currently Thu Mar 28, 2024 12:47 pm



Reply to topic  [ 2 posts ] 
how to output Chinese ? 
Author Message
New pChart user
New pChart user

Joined: Sat Feb 12, 2011 6:11 pm
Posts: 1
Post 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 ?


Sat Feb 12, 2011 6:21 pm
Profile
New pChart user
New pChart user

Joined: Fri Apr 27, 2012 1:24 am
Posts: 3
Post 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???


Fri Apr 27, 2012 1:37 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron