I uploaded those fonts and I still have the errors for them.
DEFINE("TTF_DIR","./jpgraph/fonts/truetype/");
OK, I figured it out ...You have installed a really old version of the software ... from March of 2008, actually. I'm actually pleased to see it working as well as it is You might want to install the latest version (it has had quite a number of changes since then). You can find the current version here. You should be able to simply drop the files from the zip over top of the files you have and run an update. It will remember all of your settings ....
OK, then take my code snippet and add it just under these lines and try it again.
Quote from: FredLooks on June 22, 2010, 02:31:26 PMOK, I figured it out ...You have installed a really old version of the software ... from March of 2008, actually. I'm actually pleased to see it working as well as it is You might want to install the latest version (it has had quite a number of changes since then). You can find the current version here. You should be able to simply drop the files from the zip over top of the files you have and run an update. It will remember all of your settings ....Is it really that easy to upgrade from an older version? To just overwrite all the files from the zip folder into my install folder on the host? I have been reluctant to try and upgrade as I remember so little from my initial installation a few years ago that I was afraid of buggering up my existing version which still works fine for me.
Same error.Here's what is in the file now.// define('CACHE_DIR','/tmp/jpgraph_cache/');// define('TTF_DIR','/usr/share/fonts/truetype/');// define('MBTTF_DIR','/usr/share/fonts/truetype/');// define("TTF_DIR","./jpgraph/fonts/truetype/");