[LON-CAPA-cvs] cvs: loncom /interface printout.pl

albertel lon-capa-cvs-allow@mail.lon-capa.org
Mon, 23 Apr 2007 20:06:01 -0000


albertel		Mon Apr 23 16:06:01 2007 EDT

  Modified files:              
    /loncom/interface	printout.pl 
  Log:
  - missing argument to crete_missing_fonts BUG#5242
  
  
Index: loncom/interface/printout.pl
diff -u loncom/interface/printout.pl:1.123 loncom/interface/printout.pl:1.124
--- loncom/interface/printout.pl:1.123	Fri Apr 20 16:54:24 2007
+++ loncom/interface/printout.pl	Mon Apr 23 16:06:00 2007
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 # CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc.
 #
-# $Id: printout.pl,v 1.123 2007/04/20 20:54:24 albertel Exp $
+# $Id: printout.pl,v 1.124 2007/04/23 20:06:00 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -562,7 +562,7 @@
 	      #print("<br /> Missing fonts file is: $missfonts_file");
 	      if (-e $missfonts_file) {
 		  #print("<br />Missing fonts file exists\n");
-		  &create_missing_fonts($missfonts_file);
+		  &create_missing_fonts($missfonts_file,\%prog_state);
 		  &busy_wait_command("$comma $name_file 1>/dev/null 2>/dev/null",
 				     "for $status_statement dvips generated missing fonts",
 				     \%prog_state, $new_name_file);
@@ -673,7 +673,7 @@
 	  #print("<br /> Missing fonts file is: $missfonts_file");
 	  if (-e $missfonts_file) {
 	      #print("<br />Missing fonts file exists\n");
-	      &create_missing_fonts($missfonts_file);
+	      &create_missing_fonts($missfonts_file,\%prog_state);
 	      &busy_wait_command("$comma $name_file 1>/dev/null 2>/dev/null",
 				 "for $status_statement dvips generated missing fonts",
 				 \%prog_state, $new_name_file);
@@ -1000,7 +1000,7 @@
 	#print("<br />Creating fonts via command: $command");
 	&busy_wait_command("$command 1>/dev/null 2>/dev/null",
 			   "Creating missing font",
-			   $state, $command);
+			   $state);
 			   
     }