Make the arrays easier to human read when output into PDF py33
authorbenechols-wf <ben.echols@webfilings.com>
Tue, 09 Jul 2013 15:17:44 -0600
branchpy33
changeset 3744 3fc3de7a46de
parent 3743 28c74eda3bcc
child 3745 639f31ad4694
Make the arrays easier to human read when output into PDF
src/reportlab/pdfbase/pdfdoc.py
--- a/src/reportlab/pdfbase/pdfdoc.py	Tue Jul 09 11:48:13 2013 -0600
+++ b/src/reportlab/pdfbase/pdfdoc.py	Tue Jul 09 15:17:44 2013 -0600
@@ -1733,11 +1733,11 @@
         Quad = d["QuadPoints"]
         Color = d["C"]
         if not isinstance(Rect, str):
-            d["Rect"] = PDFArray(Rect)
+            d["Rect"] = PDFArray(Rect).format(d, IND=" ")
         if not isinstance(Quad, str):
-            d["QuadPoints"] = PDFArray(Quad)
+            d["QuadPoints"] = PDFArray(Quad).format(d, IND=" ")
         if not isinstance(Color, str):
-            d["C"] = PDFArray(Color)
+            d["C"] = PDFArray(Color).format(d, IND=" ")
         d["Contents"] = PDFString(d["Contents"], escape)
         return d