Make the arrays easier to human read when output into PDF
authorbenechols-wf <ben.echols@webfilings.com>
Tue, 09 Jul 2013 15:17:44 -0600
changeset 3713 2e111f9f105c
parent 3712 960245b5737e
child 3714 81f413947ebb
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
@@ -1745,11 +1745,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