Hi,
Where can I find some documentation about Mantis Graphs Plugin configuration ?
What is the difference between "bundled" and "jpgraph" in "library" parameter ?
I cannot save a jpgraph library path ... why ?
I'm using Mantis 1.2.1 on a Windows server.
Mantis Graphs - Configuration
Moderators: Developer, Contributor
Re: Mantis Graphs - Configuration
AFAIK there is nonefxm wrote: Where can I find some documentation about Mantis Graphs Plugin configuration ?
Since MantisBT 1.2 there is a graph library delivered with the product (library/ezc/Graph), this is the "bundled"fxm wrote: What is the difference between "bundled" and "jpgraph" in "library" parameter ?
Jpgraph is just another PHP base library to produce graphs, which was used in earlier versions of MantisBT and can still be used.
In theory there should not be much differences between the results. In real live, there will be less or more problems with the one or the other depending on your environment.
Seems this is a bugfxm wrote: I cannot save a jpgraph library path ... why ?
Please enter an issue for it
SOLVED: Mantis Graphs - Configuration
It is done: http://www.mantisbt.org/bugs/view.php?id=12006.atrol wrote:Seems this is a bugfxm wrote: I cannot save a jpgraph library path ... why ?
Please enter an issue for it
Thanks for your quick answer.
-
papalnitro
- Posts: 2
- Joined: 26 Aug 2010, 12:12
Re: Mantis Graphs - Configuration
Hi all,
I am new to mantis and have a problem with graphs, which I cannot solve despite large coverage on the web and this forum...
I've installed the latest 1.2.2 version on a windows server, which works fine as system fonts are available under c:\windows\fonts.
I've then installed the same distrib at my ISP's, running LAMP, and I can't see any graphs or captchas.
Bundled ezc and jpgraph has the same behaviour.
I've copied some basic windows fonts (arial.ttf ...) and setup the font directory to the new font directory but still no luck.
Can I use the windows fonts or do I need specific ones for linux? If so, where can I find them ?
I have used some jpgraph sample programs to make sure the installation was ok,
and it is, i.e. drawing plain graphs and text, but I guess mantis wants to use fancy fonts instead...
Thanks
PS: Obviously there's not much I can run on my ISP's server !!
I am new to mantis and have a problem with graphs, which I cannot solve despite large coverage on the web and this forum...
I've installed the latest 1.2.2 version on a windows server, which works fine as system fonts are available under c:\windows\fonts.
I've then installed the same distrib at my ISP's, running LAMP, and I can't see any graphs or captchas.
Bundled ezc and jpgraph has the same behaviour.
I've copied some basic windows fonts (arial.ttf ...) and setup the font directory to the new font directory but still no luck.
Can I use the windows fonts or do I need specific ones for linux? If so, where can I find them ?
I have used some jpgraph sample programs to make sure the installation was ok,
and it is, i.e. drawing plain graphs and text, but I guess mantis wants to use fancy fonts instead...
Thanks
PS: Obviously there's not much I can run on my ISP's server !!
-
papalnitro
- Posts: 2
- Joined: 26 Aug 2010, 12:12
Re: Mantis Graphs - Configuration
I reinstalled mantis 1.2.2 from fresh and it now works +/- ok.
By +/- ok I mean that graphs are displaied, but I doubt that the fonts are used
as I see no change whether I use arial, verdana or courier...
(only tried with ezc though...)
So to recap, all I did was:
- Install mantis on my ISP lamp
- Create a fonts directory anywhere (I've put it in mantis/library)
- Copy the basic windows fonts to that directory
- Define the font path in config_inc.php at mantis root
in my case: $g_system_font_folder = '/home/www/fb9ae259369470607e53b636e095c2ca/web/mantis/library/fonts/';
If anyone has an answer to whether Windows ttf fonts are ok for linux I'd be glad to check again
or try with linux fonts.
Cheers
Re: Mantis Graphs - Configuration
On my server, I had to install the MS Core Fonts package (http://corefonts.sourceforge.net)
After a lot of trial and error, I realized that fonts have to be located in /usr/share/fonts/truetype. As on my environment they were actually stored in /usr/share/fonts/msfonts, I created a symbolic link and then everything worked fine.
Reference: http://www.mantisbt.org/bugs/view.php?id=11548
Hope this helps
After a lot of trial and error, I realized that fonts have to be located in /usr/share/fonts/truetype. As on my environment they were actually stored in /usr/share/fonts/msfonts, I created a symbolic link and then everything worked fine.
Reference: http://www.mantisbt.org/bugs/view.php?id=11548
Hope this helps