[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm /xml londefdef.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Thu, 02 Oct 2008 17:12:22 -0000


raeburn		Thu Oct  2 13:12:22 2008 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
    /loncom/xml	londefdef.pm 
  Log:
  - Bug 5802.
  - A side effect of the addition of '\usepackage[T1]{fontenc}' in 1.531 has been the creation of Type 3 (bit map) fonts in the .ps file during printout generation.
    - With some distros (e.g., SuSE) this can prevent creation of the two column format by pstops.
    - It can also result in larger .ps files (e.g., in SuSE, bit maps are generated at 8000 dpi res.)
    - On-screen rendering of the bit maps is poor/fails for Acroread, Evince etc, even though printing may be OK. 
  - Addition of '\usepackage{lmodern}' allows the use of Type 1 fonts which avoids these issues.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.542 loncom/interface/lonprintout.pm:1.543
--- loncom/interface/lonprintout.pm:1.542	Tue Sep 23 07:57:58 2008
+++ loncom/interface/lonprintout.pm	Thu Oct  2 13:12:18 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.542 2008/09/23 11:57:58 raeburn Exp $
+# $Id: lonprintout.pm,v 1.543 2008/10/02 17:12:18 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1160,6 +1160,7 @@
 	     '\usepackage{wrapfig}'.
 	     '\usepackage{picins}\usepackage{calc}'."\n".
 	     '\usepackage[T1]{fontenc}'."\n".
+             '\usepackage{lmodern}'."\n".
 	     '\usepackage[postscript]{ucs}'."\n".
 	     '\usepackage[utf8x]{inputenc}'."\n".
 	     '\usepackage{pifont}'  . "\n".
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.392 loncom/xml/londefdef.pm:1.393
--- loncom/xml/londefdef.pm:1.392	Thu Sep 11 10:47:24 2008
+++ loncom/xml/londefdef.pm	Thu Oct  2 13:12:19 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.392 2008/09/11 14:47:24 bisitz Exp $
+# $Id: londefdef.pm,v 1.393 2008/10/02 17:12:19 raeburn Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -202,6 +202,7 @@
 			  '\usepackage{wrapfig}'.
 			  '\usepackage{picins}'.
 			  '\usepackage[T1]{fontenc}'."\n".
+                          '\usepackage{lmodern}'."\n".
 			  '\usepackage[postscript]{ucs}'."\n".
 			  '\usepackage[utf8x]{inputenc}'."\n".
 			  '\usepackage{pifont}' ."\n".