--- a/CHANGES.md Sun Jun 12 15:34:05 2022 +0100
+++ b/CHANGES.md Fri Jun 24 13:32:17 2022 +0100
@@ -11,10 +11,11 @@
The contributors lists are in no order and apologies to those accidentally not
mentioned. If we missed you, please let us know!
-CHANGES 3.6.11 ??/06/2022
+CHANGES 3.6.11 24/06/2022
---------------------------
* support HORIZONTAL2 & VERTICAL2 table cell backgrounds; as suggested by Sina Khelil < sina at khelil dot com >
* support general LINEAR & RADIAL gradient table cell backgrounds
+ * support ShowBoundaryValue in canv.drawImage
CHANGES 3.6.10 31/05/2022
---------------------------
--- a/src/reportlab/__init__.py Sun Jun 12 15:34:05 2022 +0100
+++ b/src/reportlab/__init__.py Fri Jun 24 13:32:17 2022 +0100
@@ -3,7 +3,7 @@
__doc__="""The Reportlab PDF generation library."""
Version = "3.6.11"
__version__=Version
-__date__='20220612'
+__date__='20220624'
import sys, os
--- a/src/reportlab/pdfgen/canvas.py Sun Jun 12 15:34:05 2022 +0100
+++ b/src/reportlab/pdfgen/canvas.py Fri Jun 24 13:32:17 2022 +0100
@@ -1010,7 +1010,8 @@
self._code.append("/%s Do" % regName)
self.restoreState()
if showBoundary:
- self.rect(x,y,width,height,stroke=1,fill=0)
+ #self.rect(x,y,width,height,stroke=1,fill=0)
+ self.drawBoundary(showBoundary,x,y,width,height)
# track what's been used on this page
self._formsinuse.append(name)
--- a/tests/test_table_layout.py Sun Jun 12 15:34:05 2022 +0100
+++ b/tests/test_table_layout.py Fri Jun 24 13:32:17 2022 +0100
@@ -701,7 +701,7 @@
("LEFTPADDING", (0,0), (-1,-1), 0),
("RIGHTPADDING", (0,0), (-1,-1), 0),
("BACKGROUND", (1,1), (1,1), ("HORIZONTAL", colors.green, colors.yellow)),
- ("BACKGROUND", (0,2), (1,2), ("VERTICAL", colors.red, colors.green)),
+ ("BACKGROUND", (0,2), (1,2), ("VERTICAL", colors.red, '#008000')),
("BACKGROUND", (0,3), (1,3), ("VERTICAL2", colors.blue, colors.yellow)),
("BACKGROUND", (1,4), (1,4), ("HORIZONTAL2", colors.green, colors.yellow)),
("BACKGROUND", (2,2), (2,2), ("LINEARGRADIENT", (0,0),(1,1), True, (colors.green, colors.yellow, colors.red), (0.25,0.5,0.75))),