Hi;
I'm starting to work on some stuff on a lunarpages hosted website (cpanel interface which is new to me. I am trying to install jpgraph but apparently I don't know where the heck the server holds TTF files. (to use TTF fonts one has to provide the path in the "jpgraph-conf-ini.php" file.)
ie. one has to uncomment the appropriate line in the file in this section:
//------------------------------------------------------------------------
// Directories for cache and font directory.
//
// CACHE_DIR:
// The full absolute name of the directory to be used to store the
// cached image files. This directory will not be used if the USE_CACHE
// define (further down) is false. If you enable the cache please note that
// this directory MUST be readable and writable for the process running PHP.
// Must end with '/'
//
// TTF_DIR:
// Directory where TTF fonts can be found. Must end with '/'
//
// The default values used if these defines are left commented out are:
//
// UNIX:
// CACHE_DIR /tmp/jpgraph_cache/
// TTF_DIR /usr/X11R6/lib/X11/fonts/truetype/
// MBTTF_DIR /usr/share/fonts/ja/TrueType/
//
// WINDOWS:
// CACHE_DIR $SERVER_TEMP/jpgraph_cache/
// TTF_DIR $SERVER_SYSTEMROOT/fonts/
// MBTTF_DIR $SERVER_SYSTEMROOT/fonts/
//
//------------------------------------------------------------------------
//DEFINE("CACHE_DIR","/tmp/jpgraph_cache/");
//DEFINE("TTF_DIR","/usr/X11R6/lib/X11/fonts/truetype/");
//DEFINE("MBTTF_DIR","/usr/share/fonts/ja/TrueType/");
//-------------------------------------------------------------------------
Anyone out there have experience with jpgraph on a lunarpages cpanel server that can help me get this right?
Thanks!