Hello all,
I'm using MantisBT on a shared hosting account. The version I'm using is 1.2.17
All works well, but I can't get the Graph plugin to work.
The server I'm using does not have truetype fonts installed, so In the plugin settings I have referred to the 'bundled' font settings. I still get an error though... "unable to read/find font".
When I look at the plugin setting I notice that it is pointing to a directory in the library that does not exist. Would that be the problem? I was trying to find the directory, but it's not in the install package, neither can I find what the contents should be....
Can anyone please give a hint?
Thanks in advance!
Can't get Graph plugin to work...
Moderators: Developer, Contributor
Re: Can't get Graph plugin to work...
Did you set $g_system_font_folder in config_inc.php?
This should be set to a directory (including trailing /) where you have installed ttf fonts.
Search your disk for file Arial.ttf to check if you have fonts on your system.
This should be set to a directory (including trailing /) where you have installed ttf fonts.
Search your disk for file Arial.ttf to check if you have fonts on your system.
Re: Can't get Graph plugin to work...
hi there atrol,
thank you for your quick response.
like I said; the server is a shared hosting server,
true type fonts are not installed on the server, and i do not have permission to install fonts myself.
that's why i would like to use the bundled library, but that was not installed when i installed mantis
oh, sorry, i'm now completely repeating myself. the question remains though...
thank you for your quick response.
like I said; the server is a shared hosting server,
true type fonts are not installed on the server, and i do not have permission to install fonts myself.
that's why i would like to use the bundled library, but that was not installed when i installed mantis
oh, sorry, i'm now completely repeating myself. the question remains though...
Re: Can't get Graph plugin to work...
"Bundled" is not a font setting, it's a setting of the graph library.
Both libraries use the same fonts.
Copy the fonts to any directory you want and set $g_system_font_folder to the directory (don't forget a trailing slash).
Both libraries use the same fonts.
Copy the fonts to any directory you want and set $g_system_font_folder to the directory (don't forget a trailing slash).
Re: Can't get Graph plugin to work...
Well, ok,
- I created the directory library/jpgraph and copied arial.ttf in it.
- Set the plugin to work with arial
- set $g_system_font_folder = '/library/jpgraph/'
Still get: "unable to read/find font"
I copied the font from my windows PC. Does that have anything to do with it..? Would that normally work on a linux box?
- I created the directory library/jpgraph and copied arial.ttf in it.
- Set the plugin to work with arial
- set $g_system_font_folder = '/library/jpgraph/'
Still get: "unable to read/find font"
I copied the font from my windows PC. Does that have anything to do with it..? Would that normally work on a linux box?
Re: Can't get Graph plugin to work...
Try
Code: Select all
$g_system_font_folder = 'library/jpgraph/'
Re: Can't get Graph plugin to work...
Thank you Atrol!
I've made progress... Now I get a warning "Bug Graph" for 1 or 2 seconds, then the graph displays
Not sure what the initial warning text means... maybe I should install more fonts than Arial.ttf only?
Thanks again..
I've made progress... Now I get a warning "Bug Graph" for 1 or 2 seconds, then the graph displays
Not sure what the initial warning text means... maybe I should install more fonts than Arial.ttf only?
Thanks again..
Re: Can't get Graph plugin to work...
Hello,
i'm matis new user and i have a probleme with the plugin MantisGraph
attached a bug screen capture 'Bug Graph'
please if any one have an ideo about the source of the problem
i'm matis new user and i have a probleme with the plugin MantisGraph
attached a bug screen capture 'Bug Graph'
please if any one have an ideo about the source of the problem
- Attachments
-
- bugGraphMantis.PNG (76.97 KiB) Viewed 7802 times