Index: trunk/tools/czarplot.pl
===================================================================
--- trunk/tools/czarplot.pl	(revision 28869)
+++ trunk/tools/czarplot.pl	(revision 28870)
@@ -71,5 +71,5 @@
 $czarDb->setDateFormat("%Y%m%d-%H%i%s");
 
-my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", $savingToFile ? "png" : "X11", $path, $save_temps);
+my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", $savingToFile ? "png font \"/usr/share/fonts/corefonts/arial.ttf\" 8" : "X11", $path, $save_temps);
 
 my @allStages = ("chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist");
Index: trunk/tools/czartool/Czarplot.pm
===================================================================
--- trunk/tools/czartool/Czarplot.pm	(revision 28869)
+++ trunk/tools/czartool/Czarplot.pm	(revision 28870)
@@ -272,5 +272,6 @@
     my ($self, $fromTime, $toTime) = @_;
 
-    my $outputFile = "/tmp/czarplot_cluster.png";
+    my $prefix = $self->{_outputPath} ? $self->{_outputPath} : ".";
+    my $outputFile = "$prefix/czarplot_cluster.png";
     my ($minX, $maxX, $minY, $maxY, $timeDiff);
 
@@ -347,5 +348,6 @@
     my ($self) = @_;
 
-    my $outputFile = "/tmp/czarplot_hosts_space.png";
+    my $prefix = $self->{_outputPath} ? $self->{_outputPath} : "."; # TODO should be function for this
+    my $outputFile = "$prefix/czarplot_hosts_space.png";
     my $limit = 97.0;
     my $inputFile = $self->{_czarDb}->createHostsData($limit);
Index: trunk/tools/roboczar.pl
===================================================================
--- trunk/tools/roboczar.pl	(revision 28869)
+++ trunk/tools/roboczar.pl	(revision 28870)
@@ -26,5 +26,5 @@
 my $nebulous = new czartool::Nebulous($czarDb);
 my $pantasks = new czartool::Pantasks();
-my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", "png", "/tmp", $save_temps);
+my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", "png font \"/usr/share/fonts/corefonts/arial.ttf\" 8", "/tmp", $save_temps); # TODO hardcoded font path
 $czarDb->setDateFormat("%Y%m%d-%H%i%s");
 
