[phpOpenTracker-general] [JPGraph] Plot problem: Internal font does not support drawing text at arbitrary angle. Use TTF instead.

Barry Nauta <[email protected]> Thu, 10 Aug 2006 18:26:28 +0200
Newsgroups gmane.comp.web.phpopentracker.general
Organization [nauta.be]
Message-ID <[email protected]>
Hi all,

I just installed POT and must say that I am amazed!

When working on a stats overview, I wanted to use the plot function, but keep 
bumpong into the error mentioned in the subjetc.

I must say that I have uploaded my own fonts to a subdirectory of POT, so the 
problem might be here. All JPGraph examples work fine, so the config of 
JPGraph seems to be ok.

The code I would like to execute is the following (from the online 
documentation):

phpOpenTracker::plot(
  array(
    'api_call' => 'access_statistics',
    'range'    => 'today',
    'interval' => 'hour',
    'mode'     => 'line'
  )
);

First uploaded all verdana fonts (default) without results (same error), so I 
tried to add a different font (arial). If I now add the font parameter like 
this:

phpOpenTracker::plot(
  array(
    'api_call' => 'access_statistics',
    'range'    => 'today',
    'interval' => 'hour',
    'mode'     => 'line',
'font' => 'FF_ARIAL'
  )
);

I get the following error: 

Unknown font font family specification.

I have the arial.ttf in my fonts directory...

Any help appreciated

Barry

-- 
General Taekwondo Information
http://www.barrel.net

BRIM - A webbased Personal Information Manager
http://www.brim-project.org