That would be nice if somebody could make that configurable.

Dirty hack:

--- Stats.pm.bk    2010-04-01 18:44:50.000000000 +0700
+++ Stats.pm    2010-04-01 18:56:10.000000000 +0700
@@ -1669,6 +1669,14 @@
     my @PData = ( $HeadArrayRef, @StatArray );
     my ( $XSize, $YSize ) = split( m{x}x, $Param{GraphSize} );
     my $graph = $GDBackend->new( $XSize || 550, $YSize || 350 );
+    $graph->set_legend_font('/tmp/lucon.ttf',10);
+       $graph->set_x_label_font('/tmp/lucon.ttf',10);
+       $graph->set_y_label_font('/tmp/lucon.ttf',10);
+       $graph->set_x_axis_font('/tmp/lucon.ttf',10);
+       $graph->set_y_axis_font('/tmp/lucon.ttf',10);
+       $graph->set_values_font('/tmp/lucon.ttf',10);
+
     $graph->set(
         x_label => $XLable,


31.03.2010 21:04, Artem Bokhan пишет:
Hello!

How can I change font for graphs in the stats module? I have problem with displaying non-latin characters.
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to