1 頁 (共 1 頁)

jpgraphe 安裝及設定

發表於 : 2008-10-15 09:23:35
yehlu
字形
apt-get install msttcorefonts
拷貝 simhei.ttf 到
/usr/share/fonts/truetype/msttcorefonts

修改設定
檔名 jpgraph_ttf.inc.php
113 行
//return iconv('BIG5','UTF-8',$aTxt);
return $aTxt;
243行
//FF_SIMSUN => array(FS_NORMAL =>'simsun.ttc',
FF_SIMSUN => array(FS_NORMAL =>'simhei.ttf',

檔名 jpg-config.inc.php
DEFINE("TTF_DIR","/usr/share/fonts/truetype/msttcorefonts/");
DEFINE("MBTTF_DIR","/usr/share/fonts/truetype/msttcorefonts/");