2
我试过了很多不同的方法,现在我尽可能的明确了。我在Windows 7上使用xampp和PHP/pChart。在我的代码有:pchart错误:消息:imageftbbox()[function.imageftbbox]:无效的字体文件名
<?php
include('pChart/pData.class');
include('pChart/pChart.class');
putenv('GDFONTPATH=' . 'C:\Windows');
...
$Test->setFontProperties("/Fonts/tahoma.ttf",8);
...
?>
我的确在字体前面包括“/”,使库不不期而遇追加的.ttf我看可以在某些情况下发生的。
在这个问题上的任何援助将不胜感激。
字体实际上是否位于被调用的位置? – random
据我所知可以。 –
这是什么版本的pChart?所有这些方法调用看起来不像你在2.0中看到的那样 – random