Page 1 of 1

jpgraph:problem with displaying japanese font

Posted: Tue Apr 10, 2007 2:48 am
by callie
Hello, I seem to be having problems in displaying Japanese fonts with jpgraph. Here are some of the things I remember doing (there may be more ^^;) :
1. Used the specified TTF fonts in the config file
2. Used the equivalent TTC fonts and changed the config file accordingly
3. Changed the encoding of the file when it saves
4. Forced encoding using mb_change_encoding function (going between EUC-JP, JIS, SJIS, and the UTF-8 encodings)
5. Edited php.ini

My computer system uses the Japanese version of Win2K and I've used at least 3 different editors for coding (and repeating the steps above per editor)... But everytime I run the codes, it displays either a question mark, a blank, or garbage values...

Any help would be greatly appreciated... Thank you! :D

Posted: Tue Apr 10, 2007 2:54 am
by Kieran Huggins
when searching the jpgraph forums for utf-8, the post under yours (identical to the above post) seems to have the solution already:

http://jpgraph.intellit.nl/index.php/topic,2237.0.html

Search is your friend!

Posted: Wed Apr 11, 2007 9:53 pm
by callie
that setting is false by default in the config file for jpgraph... i tried making it true, reverting it back to false... nothing changes :(