View Issue Details

IDProjectCategoryView StatusLast Update
0004929mantisbtreportspublic2005-04-18 10:44
Reportersaf Assigned Tothraxisp  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.1 
Fixed in Version1.0.0a1 
Summary0004929: Inscriptions on the graphs on Apache for Microsoft Windows for CP1251 do not hatch.
Description

It is necessary all over graph_api.php obviously to specify a font:
$graph->title->SetFont(FF_ARIAL,FS_BOLD); ....
$graph->xaxis->..
$graph->legend->..

TagsNo tags attached.
Attached Files

Relationships

child of 0004937 closedvboctor Mantis 1.0.0a1 Release 

Activities

thraxisp

thraxisp

2004-12-15 09:03

reporter   ~0008633

The graphs are drawn with a default internal font today.
Switching to a truetype font (e.g., Arial) will require a reasonable amount of work, but also brings a dependency of properly installing the truetype fonts. This is not trivial on a non-Windows server as there are apparently some copyright issues.

thraxisp

thraxisp

2004-12-16 17:11

reporter   ~0008676

Fonts are now specified for all graphs, but the user must configure jpgraph properly for this to work (e.g. TTF_DIR).

  • New Config: $g_graph_font - truetype font for graphs