I have a question, and a bit of advice:
Advice first: I (evidently) have a windows server, and if I call my fonts folder ttf as instructed here, something in the code interprets the "\t" as a tab which results in the path to the font folder becoming corrupt. I renamed ttf to fonts and lots of stuff immediately started to work...
Now the question: Not everything works:
http://www.kingsteignton-weather.co.uk/WXGraphs/wxgraphs_test.htmlhttp://www.kingsteignton-weather.co.uk/jpgraph-1.22/src/Examples/testsuit.phpThe error message is truncated so I can't see exactly what's going on:
http://www.kingsteignton-weather.co.uk/jpgraph-1.22/src/Examples/bargradex1.phpbut there still appears to be something wrong with the fonts.
Does anyone know what I have done wrong?
These are the relevant lines from jpg-config.inc.php:
//------------------------------------------------------------------------
// DEFINE("CACHE_DIR","/tmp/jpgraph_cache/");
DEFINE("TTF_DIR","e:\domains\k\kingsteignton-weather.co.uk\user\htdocs\jpgraph-1.22\fonts/");
// DEFINE("MBTTF_DIR","/usr/share/fonts/ja/TrueType/");
//-------------------------------------------------------------------------
I'll admit that the Windows path with the wrong slashes looks really dicey - I see everyone else here has Linux servers...