When I want to see graphical reports I get no graphics but instead the message:
"Unable to read/find font"
Reading the bugs, forums, etc. it seems that the issue is related to JpGraph... it seems that my host does not have JpGraph so I downloaded the package and expanded in my environment.
I have:
/home/<myuser>/web/mantis for the Mantis BT installation
/home/<myuser>/php/jpgraph for the JpGraph installation
and fonts are at both
/home/<myuser>/php/jpgraph/src/fonts (DejaVu and some .gdf fonts)
/usr/share/fonts/truetype/ (DejaVu and Bitstream Vera)
So I set config_inc.php to
Code: Select all
# ----- JpGraph configuration -----
$g_use_jpgraph = ON;
$g_jpgraph_path = '/home/<myuser>/php/jpgraph/src/';
$g_system_font_path = '/usr/share/fonts/truetype/';Code: Select all
# ----- JpGraph configuration -----
$g_use_jpgraph = ON;
$g_jpgraph_path = '/home/<myuser>/php/jpgraph/src/';
$g_system_font_path = '/home/<myuser>/php/jpgraph/src/fonts/';I have read:
http://www.mantisbt.org/bugs/view.php?id=10706 11741 10995 and a few other
http://www.mantisbt.org/manual/manual.t ... pgraph.php
which have not been more useful than what I just did.