首页
学习
活动
专区
圈层
工具
发布

Jpgraph 3.5 中文乱码问题解决

今天设置了Jpgraph生成的图表加上中文标题乱码,搜索下结果都是加什么字体了设置这个,修改那个。。...://anshao.net/codes/254.html(多谢博主分享了,我转载了过来,在windows是可以使用滴,但是linux下就不可以,我就增加下怎么在linux下使用吧) 具体做法就是:修改jpgraph_ttf.inc.php...elseif( $aFF === FF_SIMSUN ) { // Do Chinese conversion if( $this->g2312 == null ) { include_once ‘jpgraph_gb2312...FF_SIMSUN ) { // Do Chinese conversion //注释掉这段; /*if( $this->g2312 == null ) { include_once ‘jpgraph_gb2312...g2312->gb2utf8($aTxt); */ return $aTxt; //直接return } image.png 如果提示这个,那么你可以点击这里下载字体simhei.ttf然后保存到jpgraph

95480
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到
    领券