View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011741 | mantisbt | reports | public | 2010-04-02 06:42 | 2011-08-05 02:25 |
Reporter | hernic | Assigned To | dhx | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Platform | x86_64 | OS | CentOS | OS Version | 5.4 |
Product Version | 1.2.0 | ||||
Summary | 0011741: Mantis Graphs 1.0 unable to read/find font | ||||
Description | I can't reopen 0011548: so .. this is a new issue. I can't resolve my error with the solution describe in the 0011548, may be the solution is not expicit enough. Nicolas Only diff: CentOS 5.4 thanx | ||||
Tags | No tags attached. | ||||
You have to install the "msttcorefonts" package in your system. |
|
i have same problem, and i don't want install msttfcorefonts from special non-free repos or with special installers. I think it must work by default, and i do these tests: this test code i try also: <?php result is good: image with text presented like at http://www.php.net/manual/en/function.imagecreate.php example 1. i test it on apache2 2.2.6 + php 5.2.2 + php5-gd2 + mantis 1.2.0, and nothing else. but i cannit see graph with "cannot find font" in mantis. |
|
Same problem here with Mantis 1.2.1 and Mantis Graphs 1.0, using bundled library. In my case the problem was PHP safe mode. Mantis, running under my UID, couldn't read the directories with the fonts, owned by root. Disabling safe mode solved the problem for me. |
|
i added to my mantis configfile. $t_font_path = dirname(FILE).'/jpgraph/truetype/'; There seems to be a problem with central font management. |
|