JpGraph font file error

1.6k Views Asked by At

I am trying to insert a graph after reading my DB.

The problem is that I get the following error: enter image description here

I already tried changing the permission in my jpgraph folder without succes. In my local computer it is working fine but once it is in the server it shows this error.

What am I doing wrong?

1

There are 1 best solutions below

4
On BEST ANSWER

Have you checked that your server actually has the font file required? Try ls -l /usr/share/fonts/truetype/verdanab.ttf on your server to check. You probably need a font package called corefonts. On debian that's available throuh apt-get install ttf-mscorefonts-installer.