View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003655 | mantisbt | reports | public | 2004-03-17 03:51 | 2016-07-09 19:28 |
| Reporter | NetCobra | Assigned To | vboctor | ||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | duplicate | ||
| Summary | 0003655: Graph display wrong chinese word | ||||
| Description | I'm using mantis in Windows2000 Server Simplified Chinese SP4 + IIS5,and I set $g_default_language = 'chinese_simplified';when I use graph I found that all chinese word in graph display wrong code.when I set $g_default_language = 'english'; it display right,but it's english word :-( My mantis version is 0.18.2 and jpgraph version is 1.14,mantis was installed on Windows2000 Server Simplified Chinese SP4 + IIS5,My browser is IE6. | ||||
| Additional Information | I had found what's happened,jpgraph support Chinese now,but it need SetFont() when using Chinese.So I add some code in \core\graph_api.php: to pie charts: //Set the title font if the default_language is set to chinese to other charts: //Set the title font if the default_language is set to chinese now it works fine. The Uploaded File is a CVS patch file for graph_api.php,maybe it can help you. | ||||
| Tags | patch | ||||
| Attached Files | |||||
|
User has included a patch. |
|
|
This is the same modification I done in my copy...fix both traditional simplified chinese additional code needed in graph_api.php, around line 35 in function graph_get_font() |
|
|
Reminder sent to: epu, vboctor about chinese font display jpgraph error |
|
|
To Quentin: |
|
|
Hi, it seems that a similar prblem exsits for german umlaute. I use 1.1.0a2. |
|