Blob Blame Raw
diff -ur reportlab-2.5.orig/src/reportlab/rl_config.py reportlab-2.5/src/reportlab/rl_config.py
--- reportlab-2.5.orig/src/reportlab/rl_config.py	2010-09-30 07:27:09.000000000 -0400
+++ reportlab-2.5/src/reportlab/rl_config.py	2011-01-05 16:12:33.906363563 -0500
@@ -49,25 +49,7 @@
 
 # places to look for T1Font information
 T1SearchPath =  (
-                'c:/Program Files/Adobe/Acrobat 9.0/Resource/Font', 
-                'c:/Program Files/Adobe/Acrobat 8.0/Resource/Font', 
-                'c:/Program Files/Adobe/Acrobat 7.0/Resource/Font', 
-                'c:/Program Files/Adobe/Acrobat 6.0/Resource/Font', #Win32, Acrobat 6
-                'c:/Program Files/Adobe/Acrobat 5.0/Resource/Font',     #Win32, Acrobat 5
-                'c:/Program Files/Adobe/Acrobat 4.0/Resource/Font', #Win32, Acrobat 4
-                '%(disk)s/Applications/Python %(sys_version)s/reportlab/fonts', #Mac?
-                '/usr/lib/Acrobat9/Resource/Font',      #Linux, Acrobat 5?
-                '/usr/lib/Acrobat8/Resource/Font',      #Linux, Acrobat 5?
-                '/usr/lib/Acrobat7/Resource/Font',      #Linux, Acrobat 5?
-                '/usr/lib/Acrobat6/Resource/Font',      #Linux, Acrobat 5?
-                '/usr/lib/Acrobat5/Resource/Font',      #Linux, Acrobat 5?
-                '/usr/lib/Acrobat4/Resource/Font',      #Linux, Acrobat 4
-                '/usr/local/Acrobat9/Resource/Font',    #Linux, Acrobat 5?
-                '/usr/local/Acrobat8/Resource/Font',    #Linux, Acrobat 5?
-                '/usr/local/Acrobat7/Resource/Font',    #Linux, Acrobat 5?
-                '/usr/local/Acrobat6/Resource/Font',    #Linux, Acrobat 5?
-                '/usr/local/Acrobat5/Resource/Font',    #Linux, Acrobat 5?
-                '/usr/local/Acrobat4/Resource/Font',    #Linux, Acrobat 4
+                '/usr/share/fonts/default/Type1',
                 '%(REPORTLAB_DIR)s/fonts',              #special
                 '%(REPORTLAB_DIR)s/../fonts',           #special
                 '%(REPORTLAB_DIR)s/../../fonts',        #special
@@ -76,44 +58,17 @@
 
 # places to look for TT Font information
 TTFSearchPath = (
-                'c:/winnt/fonts',
-                'c:/windows/fonts',
-                '/usr/lib/X11/fonts/TrueType/',
-                '/usr/share/fonts/truetype',
+                '/usr/share/fonts/dejavu',
+                '/usr/share/fonts',
                 '%(REPORTLAB_DIR)s/fonts',      #special
                 '%(REPORTLAB_DIR)s/../fonts',   #special
                 '%(REPORTLAB_DIR)s/../../fonts',#special
                 '%(HOME)s/fonts',               #special
-                #mac os X - from
-                #http://developer.apple.com/technotes/tn/tn2024.html
-                '~/Library/Fonts',
-                '/Library/Fonts',
-                '/Network/Library/Fonts',
-                '/System/Library/Fonts',
-                
                 )
 
 # places to look for CMap files - should ideally merge with above
 CMapSearchPath = (
-                  '/usr/lib/Acrobat9/Resource/CMap',
-                  '/usr/lib/Acrobat8/Resource/CMap',
-                  '/usr/lib/Acrobat7/Resource/CMap',
-                  '/usr/lib/Acrobat6/Resource/CMap',
-                  '/usr/lib/Acrobat5/Resource/CMap',
-                  '/usr/lib/Acrobat4/Resource/CMap',
-                  '/usr/local/Acrobat9/Resource/CMap',
-                  '/usr/local/Acrobat8/Resource/CMap',
-                  '/usr/local/Acrobat7/Resource/CMap',
-                  '/usr/local/Acrobat6/Resource/CMap',
-                  '/usr/local/Acrobat5/Resource/CMap',
-                  '/usr/local/Acrobat4/Resource/CMap',
-                  'C:\\Program Files\\Adobe\\Acrobat\\Resource\\CMap',
-                  'C:\\Program Files\\Adobe\\Acrobat 9.0\\Resource\\CMap',
-                  'C:\\Program Files\\Adobe\\Acrobat 8.0\\Resource\\CMap',
-                  'C:\\Program Files\\Adobe\\Acrobat 7.0\\Resource\\CMap',
-                  'C:\\Program Files\\Adobe\\Acrobat 6.0\\Resource\\CMap',
-                  'C:\\Program Files\\Adobe\\Acrobat 5.0\\Resource\\CMap',
-                  'C:\\Program Files\\Adobe\\Acrobat 4.0\\Resource\\CMap',
+                  '/usr/share/ghostscript/8.71/Resource/CMap',
                   '%(REPORTLAB_DIR)s/fonts/CMap',       #special
                   '%(REPORTLAB_DIR)s/../fonts/CMap',    #special
                   '%(REPORTLAB_DIR)s/../../fonts/CMap', #special