manual style changes
authorandy
Fri, 19 May 2006 11:34:32 +0000
changeset 2624 565a8e1f9df7
parent 2623 8b4f250a999b
child 2625 71abbda1f58c
manual style changes
reportlab/test/runAll.py
reportlab/tools/docco/rltemplate.py
reportlab/tools/docco/stylesheet.py
--- a/reportlab/test/runAll.py	Thu May 18 21:54:38 2006 +0000
+++ b/reportlab/test/runAll.py	Fri May 19 11:34:32 2006 +0000
@@ -35,6 +35,9 @@
         assert folder
     except:
         folder = os.path.dirname(sys.argv[0]) or os.getcwd()
+    #allow for Benn's "screwball cygwin distro":
+    if folder == '':
+        folder = '.'
     from reportlab.lib.utils import isSourceDistro
     haveSRC = isSourceDistro()
 
--- a/reportlab/tools/docco/rltemplate.py	Thu May 18 21:54:38 2006 +0000
+++ b/reportlab/tools/docco/rltemplate.py	Fri May 19 11:34:32 2006 +0000
@@ -29,15 +29,10 @@
         canvas.setFont('Times-Roman', 10)
         canvas.line(inch, 120, self.pageWidth - inch, 120)
 
-        canvas.drawString(inch, 100, 'Lombard Business Park')
-        canvas.drawString(inch, 88, '8 Lombard Road')
-        canvas.drawString(inch, 76, 'Wimbledon')
-        canvas.drawString(inch, 64, 'London, ENGLAND SW19 3TZ')
-
-        canvas.drawRightString(self.pageWidth - inch, 100, '103 Bayard Street')
-        canvas.drawRightString(self.pageWidth - inch, 88, 'New Brunswick')
-        canvas.drawRightString(self.pageWidth - inch, 76, 'New Jersey, 08904)')
-        canvas.drawRightString(self.pageWidth - inch, 64, 'USA')
+        canvas.drawString(inch, 100, '165 The Broadway')
+        canvas.drawString(inch, 88, 'Wimbledon')
+        canvas.drawString(inch, 76, 'London SW19 1NE')
+        canvas.drawString(inch, 64, 'United Kingdom')
 
         canvas.restoreState()
 
--- a/reportlab/tools/docco/stylesheet.py	Thu May 18 21:54:38 2006 +0000
+++ b/reportlab/tools/docco/stylesheet.py	Fri May 19 11:34:32 2006 +0000
@@ -85,9 +85,9 @@
     stylesheet.add(ParagraphStyle(name='Title',
                                   parent=stylesheet['Normal'],
                                   fontName = 'Times-Bold',
-                                  fontSize=48,
-                                  leading=56,
-                                  spaceAfter=72,
+                                  fontSize=32,
+                                  leading=40,
+                                  spaceAfter=36,
                                   alignment=TA_CENTER
                                   ),
                    alias='t')