reportlab 4.0.9__tar.gz → 4.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (729) hide show
  1. {reportlab-4.0.9 → reportlab-4.2.0}/CHANGES.md +15 -0
  2. {reportlab-4.0.9 → reportlab-4.2.0}/PKG-INFO +1 -1
  3. {reportlab-4.0.9 → reportlab-4.2.0}/setup.py +1 -1
  4. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/__init__.py +2 -2
  5. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/common.py +8 -2
  6. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/test.py +3 -0
  7. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/usps4s.py +10 -2
  8. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/linecharts.py +7 -1
  9. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/lineplots.py +42 -5
  10. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/renderPM.py +33 -16
  11. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/attrmap.py +25 -11
  12. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/colors.py +5 -1
  13. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/ttfonts.py +21 -11
  14. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfgen/canvas.py +34 -7
  15. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/platypus/flowables.py +12 -6
  16. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/platypus/frames.py +2 -38
  17. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab.egg-info/PKG-INFO +1 -1
  18. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab.egg-info/SOURCES.txt +2 -0
  19. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleStacked1.gif +0 -0
  20. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleSymbol1.gif +0 -0
  21. reportlab-4.2.0/tests/charts-out/test_graphics_images_alpha_test.png +0 -0
  22. reportlab-4.2.0/tests/charts-out/test_graphics_images_alpha_test8.png +0 -0
  23. reportlab-4.2.0/tests/render-out/410.png +0 -0
  24. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing14.py +2 -2
  25. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_graphics_images-libart.gif +0 -0
  26. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_graphics_images.py +74 -8
  27. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfbase_ttfonts.py +54 -51
  28. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_breaking.py +1 -2
  29. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_cjk_wrap.py +2 -1
  30. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_general.py +2 -3
  31. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_images.py +1 -2
  32. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_indents.py +2 -2
  33. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_paragraphs.py +3 -3
  34. {reportlab-4.0.9 → reportlab-4.2.0}/tools/docco/examples.py +10 -32
  35. reportlab-4.0.9/tests/charts-out/test_graphics_charts_barcharts_sampleStacked1.gif +0 -0
  36. reportlab-4.0.9/tests/charts-out/test_graphics_charts_barcharts_sampleSymbol1.gif +0 -0
  37. reportlab-4.0.9/tests/render-out/410.png +0 -0
  38. {reportlab-4.0.9 → reportlab-4.2.0}/INSTALL.txt +0 -0
  39. {reportlab-4.0.9 → reportlab-4.2.0}/LICENSE +0 -0
  40. {reportlab-4.0.9 → reportlab-4.2.0}/MANIFEST.in +0 -0
  41. {reportlab-4.0.9 → reportlab-4.2.0}/README.txt +0 -0
  42. {reportlab-4.0.9 → reportlab-4.2.0}/VERSION.txt +0 -0
  43. {reportlab-4.0.9 → reportlab-4.2.0}/demos/colors/colortest.py +0 -0
  44. {reportlab-4.0.9 → reportlab-4.2.0}/demos/gadflypaper/00readme.txt +0 -0
  45. {reportlab-4.0.9 → reportlab-4.2.0}/demos/gadflypaper/gfe.py +0 -0
  46. {reportlab-4.0.9 → reportlab-4.2.0}/demos/odyssey/00readme.txt +0 -0
  47. {reportlab-4.0.9 → reportlab-4.2.0}/demos/odyssey/dodyssey.py +0 -0
  48. {reportlab-4.0.9 → reportlab-4.2.0}/demos/odyssey/fodyssey.py +0 -0
  49. {reportlab-4.0.9 → reportlab-4.2.0}/demos/odyssey/odyssey.py +0 -0
  50. {reportlab-4.0.9 → reportlab-4.2.0}/demos/odyssey/odyssey.txt +0 -0
  51. {reportlab-4.0.9 → reportlab-4.2.0}/demos/rlzope/readme.txt +0 -0
  52. {reportlab-4.0.9 → reportlab-4.2.0}/demos/rlzope/rlzope.py +0 -0
  53. {reportlab-4.0.9 → reportlab-4.2.0}/demos/stdfonts/00readme.txt +0 -0
  54. {reportlab-4.0.9 → reportlab-4.2.0}/demos/stdfonts/stdfonts.py +0 -0
  55. {reportlab-4.0.9 → reportlab-4.2.0}/demos/tests/testdemos.py +0 -0
  56. {reportlab-4.0.9 → reportlab-4.2.0}/docs/00readme.txt +0 -0
  57. {reportlab-4.0.9 → reportlab-4.2.0}/docs/Makefile +0 -0
  58. {reportlab-4.0.9 → reportlab-4.2.0}/docs/genAll.py +0 -0
  59. {reportlab-4.0.9 → reportlab-4.2.0}/docs/gen_epydoc +0 -0
  60. {reportlab-4.0.9 → reportlab-4.2.0}/docs/images/Edit_Prefs.gif +0 -0
  61. {reportlab-4.0.9 → reportlab-4.2.0}/docs/images/Python_21.gif +0 -0
  62. {reportlab-4.0.9 → reportlab-4.2.0}/docs/images/Python_21_HINT.gif +0 -0
  63. {reportlab-4.0.9 → reportlab-4.2.0}/docs/images/fileExchange.gif +0 -0
  64. {reportlab-4.0.9 → reportlab-4.2.0}/docs/images/jpn.gif +0 -0
  65. {reportlab-4.0.9 → reportlab-4.2.0}/docs/images/jpnchars.jpg +0 -0
  66. {reportlab-4.0.9 → reportlab-4.2.0}/docs/images/lj8100.jpg +0 -0
  67. {reportlab-4.0.9 → reportlab-4.2.0}/docs/images/redsquare.png +0 -0
  68. {reportlab-4.0.9 → reportlab-4.2.0}/docs/images/replogo.a85 +0 -0
  69. {reportlab-4.0.9 → reportlab-4.2.0}/docs/images/replogo.gif +0 -0
  70. {reportlab-4.0.9 → reportlab-4.2.0}/docs/images/testimg.gif +0 -0
  71. {reportlab-4.0.9 → reportlab-4.2.0}/docs/make.bat +0 -0
  72. {reportlab-4.0.9 → reportlab-4.2.0}/docs/reference/build.bat +0 -0
  73. {reportlab-4.0.9 → reportlab-4.2.0}/docs/reference/genreference.py +0 -0
  74. {reportlab-4.0.9 → reportlab-4.2.0}/docs/reference/reference.yml +0 -0
  75. {reportlab-4.0.9 → reportlab-4.2.0}/docs/source/_static/basic.css +0 -0
  76. {reportlab-4.0.9 → reportlab-4.2.0}/docs/source/_static/default.css +0 -0
  77. {reportlab-4.0.9 → reportlab-4.2.0}/docs/source/_templates/layout.html +0 -0
  78. {reportlab-4.0.9 → reportlab-4.2.0}/docs/source/_templates/page.html +0 -0
  79. {reportlab-4.0.9 → reportlab-4.2.0}/docs/source/conf.py +0 -0
  80. {reportlab-4.0.9 → reportlab-4.2.0}/docs/source/graphics.rst +0 -0
  81. {reportlab-4.0.9 → reportlab-4.2.0}/docs/source/index.rst +0 -0
  82. {reportlab-4.0.9 → reportlab-4.2.0}/docs/source/lib.rst +0 -0
  83. {reportlab-4.0.9 → reportlab-4.2.0}/docs/source/pdfgen.rst +0 -0
  84. {reportlab-4.0.9 → reportlab-4.2.0}/docs/source/platypus.rst +0 -0
  85. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/app_demos.py +0 -0
  86. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/ch1_intro.py +0 -0
  87. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/ch2_graphics.py +0 -0
  88. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/ch2a_fonts.py +0 -0
  89. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/ch3_pdffeatures.py +0 -0
  90. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/ch4_platypus_concepts.py +0 -0
  91. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/ch5_paragraphs.py +0 -0
  92. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/ch6_tables.py +0 -0
  93. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/ch7_custom.py +0 -0
  94. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/genuserguide.py +0 -0
  95. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/graph_charts.py +0 -0
  96. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/graph_concepts.py +0 -0
  97. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/graph_intro.py +0 -0
  98. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/graph_shapes.py +0 -0
  99. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/graph_widgets.py +0 -0
  100. {reportlab-4.0.9 → reportlab-4.2.0}/docs/userguide/testfile.txt +0 -0
  101. {reportlab-4.0.9 → reportlab-4.2.0}/pyproject.toml +0 -0
  102. {reportlab-4.0.9 → reportlab-4.2.0}/setup.cfg +0 -0
  103. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/MANIFEST.in +0 -0
  104. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/00readme.txt +0 -0
  105. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/DarkGarden-changelog.txt +0 -0
  106. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/DarkGarden-copying-gpl.txt +0 -0
  107. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/DarkGarden-copying.txt +0 -0
  108. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/DarkGarden-readme.txt +0 -0
  109. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/DarkGarden.sfd +0 -0
  110. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/DarkGardenMK.afm +0 -0
  111. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/DarkGardenMK.pfb +0 -0
  112. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/Vera.ttf +0 -0
  113. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/VeraBI.ttf +0 -0
  114. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/VeraBd.ttf +0 -0
  115. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/VeraIt.ttf +0 -0
  116. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/_a______.pfb +0 -0
  117. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/_ab_____.pfb +0 -0
  118. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/_abi____.pfb +0 -0
  119. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/_ai_____.pfb +0 -0
  120. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/_eb_____.pfb +0 -0
  121. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/_ebi____.pfb +0 -0
  122. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/_ei_____.pfb +0 -0
  123. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/_er_____.pfb +0 -0
  124. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/bitstream-vera-license.txt +0 -0
  125. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/callig15.afm +0 -0
  126. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/callig15.pfb +0 -0
  127. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/cob_____.pfb +0 -0
  128. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/cobo____.pfb +0 -0
  129. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/com_____.pfb +0 -0
  130. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/coo_____.pfb +0 -0
  131. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/sy______.pfb +0 -0
  132. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/zd______.pfb +0 -0
  133. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/zx______.pfb +0 -0
  134. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/fonts/zy______.pfb +0 -0
  135. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/__init__.py +0 -0
  136. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/README +0 -0
  137. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/TODO +0 -0
  138. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/__init__.py +0 -0
  139. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/code128.py +0 -0
  140. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/code39.py +0 -0
  141. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/code93.py +0 -0
  142. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/dmtx.py +0 -0
  143. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/eanbc.py +0 -0
  144. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/ecc200datamatrix.py +0 -0
  145. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/fourstate.py +0 -0
  146. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/lto.py +0 -0
  147. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/qr.py +0 -0
  148. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/qrencoder.py +0 -0
  149. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/usps.py +0 -0
  150. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/barcode/widgets.py +0 -0
  151. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/__init__.py +0 -0
  152. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/areas.py +0 -0
  153. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/axes.py +0 -0
  154. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/barcharts.py +0 -0
  155. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/dotbox.py +0 -0
  156. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/doughnut.py +0 -0
  157. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/legends.py +0 -0
  158. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/markers.py +0 -0
  159. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/piecharts.py +0 -0
  160. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/slidebox.py +0 -0
  161. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/spider.py +0 -0
  162. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/textlabels.py +0 -0
  163. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/utils.py +0 -0
  164. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/charts/utils3d.py +0 -0
  165. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/renderPDF.py +0 -0
  166. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/renderPS.py +0 -0
  167. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/renderSVG.py +0 -0
  168. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/renderbase.py +0 -0
  169. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/__init__.py +0 -0
  170. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/bubble.py +0 -0
  171. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/clustered_bar.py +0 -0
  172. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/clustered_column.py +0 -0
  173. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/excelcolors.py +0 -0
  174. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/exploded_pie.py +0 -0
  175. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/filled_radar.py +0 -0
  176. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/line_chart.py +0 -0
  177. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/linechart_with_markers.py +0 -0
  178. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/radar.py +0 -0
  179. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/runall.py +0 -0
  180. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/scatter.py +0 -0
  181. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/scatter_lines.py +0 -0
  182. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/scatter_lines_markers.py +0 -0
  183. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/simple_pie.py +0 -0
  184. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/stacked_bar.py +0 -0
  185. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/samples/stacked_column.py +0 -0
  186. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/shapes.py +0 -0
  187. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/svgpath.py +0 -0
  188. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/testdrawings.py +0 -0
  189. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/testshapes.py +0 -0
  190. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/transform.py +0 -0
  191. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/utils.py +0 -0
  192. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/widgetbase.py +0 -0
  193. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/widgets/__init__.py +0 -0
  194. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/widgets/adjustableArrow.py +0 -0
  195. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/widgets/eventcal.py +0 -0
  196. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/widgets/flags.py +0 -0
  197. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/widgets/grids.py +0 -0
  198. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/widgets/markers.py +0 -0
  199. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/widgets/signsandsymbols.py +0 -0
  200. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/graphics/widgets/table.py +0 -0
  201. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/PyFontify.py +0 -0
  202. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/__init__.py +0 -0
  203. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/abag.py +0 -0
  204. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/arciv.py +0 -0
  205. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/boxstuff.py +0 -0
  206. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/codecharts.py +0 -0
  207. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/corp.py +0 -0
  208. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/enums.py +0 -0
  209. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/extformat.py +0 -0
  210. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/fontfinder.py +0 -0
  211. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/fonts.py +0 -0
  212. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/formatters.py +0 -0
  213. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/geomutils.py +0 -0
  214. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/logger.py +0 -0
  215. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/normalDate.py +0 -0
  216. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/pagesizes.py +0 -0
  217. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/pdfencrypt.py +0 -0
  218. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/pygments2xpre.py +0 -0
  219. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/randomtext.py +0 -0
  220. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/rl_accel.py +0 -0
  221. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/rl_safe_eval.py +0 -0
  222. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/rltempfile.py +0 -0
  223. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/rparsexml.py +0 -0
  224. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/sequencer.py +0 -0
  225. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/styles.py +0 -0
  226. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/testutils.py +0 -0
  227. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/textsplit.py +0 -0
  228. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/units.py +0 -0
  229. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/utils.py +0 -0
  230. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/validators.py +0 -0
  231. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/lib/yaml.py +0 -0
  232. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/license.txt +0 -0
  233. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/__init__.py +0 -0
  234. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_can_cmap_data.py +0 -0
  235. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_cidfontdata.py +0 -0
  236. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata.py +0 -0
  237. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_macexpert.py +0 -0
  238. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_macroman.py +0 -0
  239. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_pdfdoc.py +0 -0
  240. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_standard.py +0 -0
  241. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_symbol.py +0 -0
  242. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_winansi.py +0 -0
  243. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_zapfdingbats.py +0 -0
  244. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_courier.py +0 -0
  245. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_courierbold.py +0 -0
  246. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_courierboldoblique.py +0 -0
  247. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_courieroblique.py +0 -0
  248. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_helvetica.py +0 -0
  249. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_helveticabold.py +0 -0
  250. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_helveticaboldoblique.py +0 -0
  251. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_helveticaoblique.py +0 -0
  252. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_symbol.py +0 -0
  253. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_timesbold.py +0 -0
  254. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_timesbolditalic.py +0 -0
  255. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_timesitalic.py +0 -0
  256. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_timesroman.py +0 -0
  257. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_zapfdingbats.py +0 -0
  258. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/_glyphlist.py +0 -0
  259. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/acroform.py +0 -0
  260. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/cidfonts.py +0 -0
  261. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/pdfdoc.py +0 -0
  262. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/pdfform.py +0 -0
  263. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/pdfmetrics.py +0 -0
  264. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/pdfpattern.py +0 -0
  265. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/pdfutils.py +0 -0
  266. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfbase/rl_codecs.py +0 -0
  267. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfgen/__init__.py +0 -0
  268. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfgen/pathobject.py +0 -0
  269. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfgen/pdfgeom.py +0 -0
  270. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfgen/pdfimages.py +0 -0
  271. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/pdfgen/textobject.py +0 -0
  272. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/platypus/__init__.py +0 -0
  273. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/platypus/doctemplate.py +0 -0
  274. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/platypus/figures.py +0 -0
  275. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/platypus/multicol.py +0 -0
  276. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/platypus/para.py +0 -0
  277. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/platypus/paragraph.py +0 -0
  278. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/platypus/paraparser.py +0 -0
  279. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/platypus/tableofcontents.py +0 -0
  280. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/platypus/tables.py +0 -0
  281. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/platypus/xpreformatted.py +0 -0
  282. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/rl_config.py +0 -0
  283. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab/rl_settings.py +0 -0
  284. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab.egg-info/dependency_links.txt +0 -0
  285. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab.egg-info/requires.txt +0 -0
  286. {reportlab-4.0.9 → reportlab-4.2.0}/src/reportlab.egg-info/top_level.txt +0 -0
  287. {reportlab-4.0.9 → reportlab-4.2.0}/tests/00readme.txt +0 -0
  288. {reportlab-4.0.9 → reportlab-4.2.0}/tests/__init__.py +0 -0
  289. {reportlab-4.0.9 → reportlab-4.2.0}/tests/_i_am_actually_a_gif.jpg +0 -0
  290. {reportlab-4.0.9 → reportlab-4.2.0}/tests/_i_am_actually_a_jpeg.gif +0 -0
  291. {reportlab-4.0.9 → reportlab-4.2.0}/tests/alpha_test.png +0 -0
  292. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/Codabar.gif +0 -0
  293. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/Code11.gif +0 -0
  294. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/Code128.gif +0 -0
  295. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/Code128Auto.gif +0 -0
  296. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/EAN13.gif +0 -0
  297. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/EAN5.gif +0 -0
  298. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/EAN8.gif +0 -0
  299. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/ECC200DataMatrix.gif +0 -0
  300. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/Extended39.gif +0 -0
  301. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/Extended93.gif +0 -0
  302. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/FIM.gif +0 -0
  303. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/I2of5.gif +0 -0
  304. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/ISBN.gif +0 -0
  305. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/MSI.gif +0 -0
  306. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/POSTNET.gif +0 -0
  307. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/QR.gif +0 -0
  308. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/QR_with_comma.gif +0 -0
  309. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/Standard39.gif +0 -0
  310. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/Standard93.gif +0 -0
  311. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/UPCA.gif +0 -0
  312. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/USPS_4State.gif +0 -0
  313. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/test_cbcim.gif +0 -0
  314. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/test_cbcim.png +0 -0
  315. {reportlab-4.0.9 → reportlab-4.2.0}/tests/barcode-out/test_cbcim.tiff +0 -0
  316. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample0a.gif +0 -0
  317. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample0a.py +0 -0
  318. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample0b.gif +0 -0
  319. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample0b.py +0 -0
  320. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample0c.gif +0 -0
  321. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample0c.py +0 -0
  322. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample1.gif +0 -0
  323. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample1.py +0 -0
  324. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample4a.gif +0 -0
  325. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample4a.py +0 -0
  326. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample4b.gif +0 -0
  327. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample4b.py +0 -0
  328. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample4c.gif +0 -0
  329. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample4c.py +0 -0
  330. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample4c1.gif +0 -0
  331. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample4c1.py +0 -0
  332. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample4d.gif +0 -0
  333. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample4d.py +0 -0
  334. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample5a.gif +0 -0
  335. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample5a.py +0 -0
  336. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample5b.gif +0 -0
  337. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample5b.py +0 -0
  338. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample5c.gif +0 -0
  339. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample5c.py +0 -0
  340. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample5d.gif +0 -0
  341. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample5d.py +0 -0
  342. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample6a.gif +0 -0
  343. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample6a.py +0 -0
  344. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample6b.gif +0 -0
  345. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample6b.py +0 -0
  346. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample6c.gif +0 -0
  347. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample6c.py +0 -0
  348. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample6d.gif +0 -0
  349. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample6d.py +0 -0
  350. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample7a.gif +0 -0
  351. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample7a.py +0 -0
  352. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample7b.gif +0 -0
  353. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample7b.py +0 -0
  354. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample7c.gif +0 -0
  355. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample7c.py +0 -0
  356. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample7d.gif +0 -0
  357. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample7d.py +0 -0
  358. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample8a.gif +0 -0
  359. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample8a.py +0 -0
  360. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample8b.gif +0 -0
  361. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample8b.py +0 -0
  362. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample9a.gif +0 -0
  363. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample9a.py +0 -0
  364. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample9b.gif +0 -0
  365. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample9b.py +0 -0
  366. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample9c.gif +0 -0
  367. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample9c.py +0 -0
  368. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample_hatching.gif +0 -0
  369. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample_hatching.py +0 -0
  370. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_SampleH5c4.gif +0 -0
  371. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_SampleH5c4.py +0 -0
  372. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH0a.gif +0 -0
  373. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH0a.py +0 -0
  374. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH0b.gif +0 -0
  375. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH0b.py +0 -0
  376. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH0c.gif +0 -0
  377. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH0c.py +0 -0
  378. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH1.gif +0 -0
  379. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH1.py +0 -0
  380. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH2a.gif +0 -0
  381. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH2a.py +0 -0
  382. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH2b.gif +0 -0
  383. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH2b.py +0 -0
  384. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH2c.gif +0 -0
  385. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH2c.py +0 -0
  386. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH3.gif +0 -0
  387. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH3.py +0 -0
  388. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH4a.gif +0 -0
  389. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH4a.py +0 -0
  390. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH4b.gif +0 -0
  391. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH4b.py +0 -0
  392. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH4c.gif +0 -0
  393. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH4c.py +0 -0
  394. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH4d.gif +0 -0
  395. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH4d.py +0 -0
  396. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH5a.gif +0 -0
  397. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH5a.py +0 -0
  398. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH5b.gif +0 -0
  399. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH5b.py +0 -0
  400. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH5c1.gif +0 -0
  401. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH5c1.py +0 -0
  402. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH5c2.gif +0 -0
  403. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH5c2.py +0 -0
  404. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH5c3.gif +0 -0
  405. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH5c3.py +0 -0
  406. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH5c4.gif +0 -0
  407. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleH5c4.py +0 -0
  408. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleStacked1.py +0 -0
  409. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleSymbol1.py +0 -0
  410. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV0a.gif +0 -0
  411. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV0a.py +0 -0
  412. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV0b.gif +0 -0
  413. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV0b.py +0 -0
  414. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV0c.gif +0 -0
  415. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV0c.py +0 -0
  416. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV1.gif +0 -0
  417. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV1.py +0 -0
  418. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV2a.gif +0 -0
  419. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV2a.py +0 -0
  420. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV2b.gif +0 -0
  421. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV2b.py +0 -0
  422. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV2c.gif +0 -0
  423. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV2c.py +0 -0
  424. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV3.gif +0 -0
  425. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV3.py +0 -0
  426. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV4a.gif +0 -0
  427. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV4a.py +0 -0
  428. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV4b.gif +0 -0
  429. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV4b.py +0 -0
  430. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV4c.gif +0 -0
  431. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV4c.py +0 -0
  432. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV4d.gif +0 -0
  433. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV4d.py +0 -0
  434. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV5a.gif +0 -0
  435. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV5a.py +0 -0
  436. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV5b.gif +0 -0
  437. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV5b.py +0 -0
  438. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV5c1.gif +0 -0
  439. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV5c1.py +0 -0
  440. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV5c2.gif +0 -0
  441. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV5c2.py +0 -0
  442. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV5c3.gif +0 -0
  443. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV5c3.py +0 -0
  444. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV5c4.gif +0 -0
  445. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_barcharts_sampleV5c4.py +0 -0
  446. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_ddf_sampleDoughnutDDFLabels.gif +0 -0
  447. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_ddf_sampleDoughnutDDFLabels.py +0 -0
  448. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_ddf_samplePieDDFLabels.gif +0 -0
  449. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_ddf_samplePieDDFLabels.py +0 -0
  450. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_ddf_sampleSpiderDDFLabels.gif +0 -0
  451. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_ddf_sampleSpiderDDFLabels.py +0 -0
  452. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_doughnut_sample1.gif +0 -0
  453. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_doughnut_sample1.py +0 -0
  454. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_doughnut_sample2.gif +0 -0
  455. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_doughnut_sample2.py +0 -0
  456. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_doughnut_sample3.gif +0 -0
  457. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_doughnut_sample3.py +0 -0
  458. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_doughnut_sample4.gif +0 -0
  459. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_doughnut_sample4.py +0 -0
  460. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample1c.gif +0 -0
  461. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample1c.py +0 -0
  462. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample2c.gif +0 -0
  463. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample2c.py +0 -0
  464. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample3.gif +0 -0
  465. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample3.py +0 -0
  466. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample3a.gif +0 -0
  467. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample3a.py +0 -0
  468. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample4a.gif +0 -0
  469. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample4a.py +0 -0
  470. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_linecharts_sample1.gif +0 -0
  471. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_linecharts_sample1.py +0 -0
  472. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_linecharts_sample1a.gif +0 -0
  473. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_linecharts_sample1a.py +0 -0
  474. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_linecharts_sample2.gif +0 -0
  475. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_linecharts_sample2.py +0 -0
  476. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_linecharts_sample3.gif +0 -0
  477. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_linecharts_sample3.py +0 -0
  478. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_linecharts_sampleCandleStick.gif +0 -0
  479. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_linecharts_sampleCandleStick.py +0 -0
  480. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_lineplots_sample1a.gif +0 -0
  481. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_lineplots_sample1a.py +0 -0
  482. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_lineplots_sample1b.gif +0 -0
  483. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_lineplots_sample1b.py +0 -0
  484. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_lineplots_sample1c.gif +0 -0
  485. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_lineplots_sample1c.py +0 -0
  486. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_lineplots_sample2.gif +0 -0
  487. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_lineplots_sample2.py +0 -0
  488. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_lineplots_sampleFillPairedData.gif +0 -0
  489. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_lineplots_sampleFillPairedData.py +0 -0
  490. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample0a.gif +0 -0
  491. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample0a.py +0 -0
  492. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample0b.gif +0 -0
  493. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample0b.py +0 -0
  494. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample1.gif +0 -0
  495. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample1.py +0 -0
  496. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample2.gif +0 -0
  497. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample2.py +0 -0
  498. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample3.gif +0 -0
  499. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample3.py +0 -0
  500. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample4.gif +0 -0
  501. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample4.py +0 -0
  502. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample5.gif +0 -0
  503. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample5.py +0 -0
  504. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample6.gif +0 -0
  505. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample6.py +0 -0
  506. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample7.gif +0 -0
  507. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample7.py +0 -0
  508. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample8.gif +0 -0
  509. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample8.py +0 -0
  510. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample9.gif +0 -0
  511. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_piecharts_sample9.py +0 -0
  512. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_bcleg.gif +0 -0
  513. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_bcleg.py +0 -0
  514. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_hlcleg.gif +0 -0
  515. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_hlcleg.py +0 -0
  516. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_lpleg.gif +0 -0
  517. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_lpleg.py +0 -0
  518. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_pcleg.gif +0 -0
  519. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_pcleg.py +0 -0
  520. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_plpleg.gif +0 -0
  521. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_plpleg.py +0 -0
  522. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample1bar.gif +0 -0
  523. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample1bar.py +0 -0
  524. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample1barline.gif +0 -0
  525. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample1barline.py +0 -0
  526. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample1line.gif +0 -0
  527. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample1line.py +0 -0
  528. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample2bar.gif +0 -0
  529. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample2bar.py +0 -0
  530. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample2line.gif +0 -0
  531. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample2line.py +0 -0
  532. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample3.gif +0 -0
  533. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample3.py +0 -0
  534. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample4pie.gif +0 -0
  535. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample4pie.py +0 -0
  536. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_scleg.gif +0 -0
  537. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_scleg.py +0 -0
  538. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_spider_sample1.gif +0 -0
  539. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_spider_sample1.py +0 -0
  540. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_spider_sample2.gif +0 -0
  541. {reportlab-4.0.9 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_spider_sample2.py +0 -0
  542. {reportlab-4.0.9 → reportlab-4.2.0}/tests/encryption.gif +0 -0
  543. {reportlab-4.0.9 → reportlab-4.2.0}/tests/gray-alpha.png +0 -0
  544. {reportlab-4.0.9 → reportlab-4.2.0}/tests/pythonpowered-gs.gif +0 -0
  545. {reportlab-4.0.9 → reportlab-4.2.0}/tests/pythonpowered.gif +0 -0
  546. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/410.py +0 -0
  547. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing01.gif +0 -0
  548. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing01.jpg +0 -0
  549. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing01.png +0 -0
  550. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing01.py +0 -0
  551. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing02.gif +0 -0
  552. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing02.jpg +0 -0
  553. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing02.png +0 -0
  554. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing02.py +0 -0
  555. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing03.gif +0 -0
  556. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing03.jpg +0 -0
  557. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing03.png +0 -0
  558. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing03.py +0 -0
  559. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing04.gif +0 -0
  560. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing04.jpg +0 -0
  561. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing04.png +0 -0
  562. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing04.py +0 -0
  563. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing05.gif +0 -0
  564. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing05.jpg +0 -0
  565. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing05.png +0 -0
  566. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing05.py +0 -0
  567. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing06.gif +0 -0
  568. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing06.jpg +0 -0
  569. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing06.png +0 -0
  570. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing06.py +0 -0
  571. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing07.gif +0 -0
  572. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing07.jpg +0 -0
  573. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing07.png +0 -0
  574. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing07.py +0 -0
  575. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing08.gif +0 -0
  576. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing08.jpg +0 -0
  577. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing08.png +0 -0
  578. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing08.py +0 -0
  579. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing09.gif +0 -0
  580. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing09.jpg +0 -0
  581. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing09.png +0 -0
  582. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing09.py +0 -0
  583. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing10.gif +0 -0
  584. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing10.jpg +0 -0
  585. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing10.png +0 -0
  586. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing10.py +0 -0
  587. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing11.gif +0 -0
  588. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing11.jpg +0 -0
  589. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing11.png +0 -0
  590. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing11.py +0 -0
  591. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing12.gif +0 -0
  592. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing12.jpg +0 -0
  593. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing12.png +0 -0
  594. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing12.py +0 -0
  595. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing14.gif +0 -0
  596. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing14.jpg +0 -0
  597. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/Drawing14.png +0 -0
  598. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/autoclose-none.png +0 -0
  599. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/autoclose-none.py +0 -0
  600. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/autoclose-pdf.png +0 -0
  601. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/autoclose-pdf.py +0 -0
  602. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/autoclose-svg.png +0 -0
  603. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/autoclose-svg.py +0 -0
  604. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/fillmode-even-odd.png +0 -0
  605. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/fillmode-even-odd.py +0 -0
  606. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/fillmode-non-zero.png +0 -0
  607. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/fillmode-non-zero.py +0 -0
  608. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/hatch.png +0 -0
  609. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/hatch.py +0 -0
  610. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/svglib-issue104.png +0 -0
  611. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/textmode.png +0 -0
  612. {reportlab-4.0.9 → reportlab-4.2.0}/tests/render-out/textmode.py +0 -0
  613. {reportlab-4.0.9 → reportlab-4.2.0}/tests/rltw-icon-tr.png +0 -0
  614. {reportlab-4.0.9 → reportlab-4.2.0}/tests/runAll.py +0 -0
  615. {reportlab-4.0.9 → reportlab-4.2.0}/tests/solid_red_alpha.png +0 -0
  616. {reportlab-4.0.9 → reportlab-4.2.0}/tests/tall_red.png +0 -0
  617. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test-cross.tiff +0 -0
  618. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test-indexed.png +0 -0
  619. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test-rgba.png +0 -0
  620. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_charts_textlabels.py +0 -0
  621. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_crypto_algorithms.py +0 -0
  622. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_docs_build.py +0 -0
  623. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_docstrings.py +0 -0
  624. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_extra.py +0 -0
  625. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_geomutils.py +0 -0
  626. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_graphics_barcode.py +0 -0
  627. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_graphics_charts.py +0 -0
  628. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_graphics_images-cairo.gif +0 -0
  629. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_graphics_images-cairo.png +0 -0
  630. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_graphics_images-libart.png +0 -0
  631. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_graphics_images.gif +0 -0
  632. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_graphics_images.png +0 -0
  633. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_graphics_layout.py +0 -0
  634. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_graphics_render.py +0 -0
  635. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_graphics_speed.py +0 -0
  636. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_hello.py +0 -0
  637. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_images.py +0 -0
  638. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_invariant.py +0 -0
  639. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_issues.py +0 -0
  640. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_lib_colors.py +0 -0
  641. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_lib_normaldate.py +0 -0
  642. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_lib_pdfencrypt.py +0 -0
  643. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_lib_rl_safe_eval.py +0 -0
  644. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_lib_sequencer.py +0 -0
  645. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_lib_utils.py +0 -0
  646. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_lib_validators.py +0 -0
  647. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_multibyte_chs.py +0 -0
  648. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_multibyte_cht.py +0 -0
  649. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_multibyte_jpn.py +0 -0
  650. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_multibyte_kor.py +0 -0
  651. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_paragraphs.py +0 -0
  652. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfbase_encodings.py +0 -0
  653. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfbase_fontembed.py +0 -0
  654. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfbase_pdfdoc.py +0 -0
  655. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfbase_pdfform.py +0 -0
  656. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfbase_pdfmetrics.py +0 -0
  657. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfbase_pdfutils.py +0 -0
  658. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfbase_postscript.py +0 -0
  659. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfgen_callback.py +0 -0
  660. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfgen_general.py +0 -0
  661. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfgen_links.py +0 -0
  662. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfgen_overprint.py +0 -0
  663. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pdfgen_pagemodes.py +0 -0
  664. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_accum.py +0 -0
  665. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_index.py +0 -0
  666. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_leftright.py +0 -0
  667. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_lists.py +0 -0
  668. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_paraparser.py +0 -0
  669. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_pleaseturnover.py +0 -0
  670. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_preformatted.py +0 -0
  671. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_programming.py +0 -0
  672. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_tables.py +0 -0
  673. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_toc.py +0 -0
  674. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_wrapping.py +0 -0
  675. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_platypus_xref.py +0 -0
  676. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_pyfiles.py +0 -0
  677. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_renderPS.py +0 -0
  678. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_renderSVG.py +0 -0
  679. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_rl_accel.py +0 -0
  680. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_source_chars.py +0 -0
  681. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_table_inrowsplit.py +0 -0
  682. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_table_layout.py +0 -0
  683. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_tools_pythonpoint.py +0 -0
  684. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_utils.py +0 -0
  685. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_widgetbase_tpc.py +0 -0
  686. {reportlab-4.0.9 → reportlab-4.2.0}/tests/test_widgets_grids.py +0 -0
  687. {reportlab-4.0.9 → reportlab-4.2.0}/tests/unimportable.py +0 -0
  688. {reportlab-4.0.9 → reportlab-4.2.0}/tools/README +0 -0
  689. {reportlab-4.0.9 → reportlab-4.2.0}/tools/__init__.py +0 -0
  690. {reportlab-4.0.9 → reportlab-4.2.0}/tools/docco/README +0 -0
  691. {reportlab-4.0.9 → reportlab-4.2.0}/tools/docco/__init__.py +0 -0
  692. {reportlab-4.0.9 → reportlab-4.2.0}/tools/docco/codegrab.py +0 -0
  693. {reportlab-4.0.9 → reportlab-4.2.0}/tools/docco/docpy.py +0 -0
  694. {reportlab-4.0.9 → reportlab-4.2.0}/tools/docco/graphdocpy.py +0 -0
  695. {reportlab-4.0.9 → reportlab-4.2.0}/tools/docco/rl_doc_utils.py +0 -0
  696. {reportlab-4.0.9 → reportlab-4.2.0}/tools/docco/rltemplate.py +0 -0
  697. {reportlab-4.0.9 → reportlab-4.2.0}/tools/docco/stylesheet.py +0 -0
  698. {reportlab-4.0.9 → reportlab-4.2.0}/tools/docco/t_parse.py +0 -0
  699. {reportlab-4.0.9 → reportlab-4.2.0}/tools/docco/yaml.py +0 -0
  700. {reportlab-4.0.9 → reportlab-4.2.0}/tools/docco/yaml2pdf.py +0 -0
  701. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pdfpath.py +0 -0
  702. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/README +0 -0
  703. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/__init__.py +0 -0
  704. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/customshapes.py +0 -0
  705. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/examples.py +0 -0
  706. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/figures.xml +0 -0
  707. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/htu.xml +0 -0
  708. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/leftlogo.a85 +0 -0
  709. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/leftlogo.gif +0 -0
  710. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/lj8100.jpg +0 -0
  711. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/monterey.xml +0 -0
  712. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/outline.gif +0 -0
  713. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/pplogo.gif +0 -0
  714. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/python.gif +0 -0
  715. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/pythonpoint.xml +0 -0
  716. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/slidebox.py +0 -0
  717. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/spectrum.png +0 -0
  718. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/demos/vertpython.gif +0 -0
  719. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/pythonpoint.dtd +0 -0
  720. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/pythonpoint.py +0 -0
  721. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/stdparser.py +0 -0
  722. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/styles/__init__.py +0 -0
  723. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/styles/horrible.py +0 -0
  724. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/styles/htu.py +0 -0
  725. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/styles/modern.py +0 -0
  726. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/styles/projection.py +0 -0
  727. {reportlab-4.0.9 → reportlab-4.2.0}/tools/pythonpoint/styles/standard.py +0 -0
  728. {reportlab-4.0.9 → reportlab-4.2.0}/tools/utils/add_bleed.py +0 -0
  729. {reportlab-4.0.9 → reportlab-4.2.0}/tools/utils/dumpttf.py +0 -0
@@ -11,6 +11,21 @@ E.g. to retrieve the changes made between release 3.4 and release 3.5, type::
11
11
  The contributors lists are in no order and apologies to those accidentally not
12
12
  mentioned. If we missed you, please let us know!
13
13
 
14
+ CHANGES 4.2.0 18/04/2024
15
+ -------------------------
16
+ * change LIItem split to avoid 1/2 line when justified else 1 line widow
17
+ * add longer text QR code example
18
+ * allow renderPM + rlPyCairo to produce both RGB & RGBA images
19
+
20
+ CHANGES 4.1.0 08/02/2024
21
+ -------------------------
22
+ * No change. Changes to commercial package, re-released with same version number
23
+
24
+ CHANGES 4.0.9.1 23/01/2024
25
+ ---------------------------
26
+ * use ttf subsets[0][1:32] fillin
27
+ * implement drawBoundary as a proper canvas method (removing it from Frame)
28
+
14
29
  CHANGES 4.0.9 08/01/2024
15
30
  ---------------------------
16
31
  * fix TTFont hmtx bug and force index 0(.notdef) in subsets as better for PDFUA
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: reportlab
3
- Version: 4.0.9
3
+ Version: 4.2.0
4
4
  Summary: The Reportlab Toolkit
5
5
  Home-page: https://www.reportlab.com/
6
6
  Author: Andy Robinson, Robin Becker, the ReportLab team and the community
@@ -1,6 +1,6 @@
1
1
  #Copyright ReportLab Europe Ltd. 2000-2023
2
2
  #see LICENSE for license details
3
- __version__='4.0.4'
3
+ __version__='4.1.0'
4
4
  import os, sys, glob, shutil, re, sysconfig, traceback, io, subprocess
5
5
  from urllib.parse import quote as urlquote
6
6
  platform = sys.platform
@@ -1,9 +1,9 @@
1
1
  #Copyright ReportLab Europe Ltd. 2000-2023
2
2
  #see license.txt for license details
3
3
  __doc__="""The Reportlab PDF generation library."""
4
- Version = "4.0.9"
4
+ Version = "4.2.0"
5
5
  __version__=Version
6
- __date__='20240108'
6
+ __date__='20240418'
7
7
 
8
8
  import sys, os
9
9
 
@@ -103,15 +103,21 @@ class Barcode(Flowable):
103
103
  self._height = self.barHeight
104
104
  self._width = w
105
105
 
106
+ @property
106
107
  def width(self):
107
108
  self._calculate()
108
109
  return self._width
109
- width = property(width)
110
+ @width.setter
111
+ def width(self,v):
112
+ pass
110
113
 
114
+ @property
111
115
  def height(self):
112
116
  self._calculate()
113
117
  return self._height
114
- height = property(height)
118
+ @height.setter
119
+ def height(self,v):
120
+ pass
115
121
 
116
122
  def draw(self):
117
123
  self._calculate()
@@ -275,3 +275,6 @@ if __name__=='__main__':
275
275
  createSample('test_cbcim.gif',createBarcodeImageInMemory('EAN8', value='1234567', format='gif'))
276
276
  createSample('test_cbcim.pdf',createBarcodeImageInMemory('UPCA', value='03600029145',format='pdf', barHeight=40))
277
277
  createSample('test_cbcim.tiff',createBarcodeImageInMemory('USPS_4State', value='01234567094987654321',routing='01234567891',format='tiff'))
278
+ createSample('test_cbcim-1.pdf',createBarcodeImageInMemory('QR',
279
+ value='This is the end my only friend the end at the end of the Universe.',format='pdf'))
280
+
@@ -307,15 +307,23 @@ class USPS_4State(Barcode):
307
307
  widthScale = property(lambda self: min(1,max(0,self.widthSize)))
308
308
  heightScale = property(lambda self: min(1,max(0,self.heightSize)))
309
309
 
310
+ @property
310
311
  def width(self):
311
312
  self.computeSize()
312
313
  return self._width
313
- width = property(width)
314
314
 
315
+ @property
315
316
  def height(self):
316
317
  self.computeSize()
317
318
  return self._height
318
- height = property(height)
319
+
320
+ #we ignore attempts to set the dimensions
321
+ @width.setter
322
+ def width(self,v):
323
+ pass
324
+ @height.setter
325
+ def height(self,v):
326
+ pass
319
327
 
320
328
  def computeSize(self):
321
329
  if not getattr(self,'_sized',None):
@@ -319,6 +319,7 @@ class HorizontalLineChart(LineChart):
319
319
  inFillX1 = inFillX0 + self.categoryAxis._length
320
320
  inFillG = getattr(self,'_inFillG',g)
321
321
  yzero = self._yzero
322
+ bypos = None
322
323
 
323
324
  # Iterate over data rows.
324
325
  for rowNo, row in enumerate(reversed(P) if self.reversePlotOrder else P):
@@ -339,13 +340,18 @@ class HorizontalLineChart(LineChart):
339
340
 
340
341
  # Iterate over data columns.
341
342
  if lineStyle=='bar':
343
+ if bypos is None:
344
+ x = self.valueAxis
345
+ bypos = max(x._y,yzero)
346
+ byneg = min(x._y+x._length,yzero)
342
347
  barWidth = getattr(rowStyle,'barWidth',Percentage(50))
343
348
  if isinstance(barWidth,Percentage):
344
349
  hbw = self._hngs*barWidth*0.01
345
350
  else:
346
351
  hbw = barWidth*0.5
347
352
  for x, y in row:
348
- g.add(Rect(x-hbw,min(y,yzero),2*hbw,abs(y-yzero),strokeWidth=strokeWidth,strokeColor=strokeColor,fillColor=fillColor))
353
+ _y0 = byneg if y<yzero else bypos
354
+ g.add(Rect(x-hbw,_y0,2*hbw,y-_y0,strokeWidth=strokeWidth,strokeColor=strokeColor,fillColor=fillColor))
349
355
  elif self.joinedLines or lineStyle=='joinedLine':
350
356
  points = flatten(row)
351
357
  if inFill or isinstance(row,FillPairedData):
@@ -31,6 +31,8 @@ class LinePlotProperties(PropHolder):
31
31
  shader = AttrMapValue(None, desc='Shader Class.',advancedUsage=1),
32
32
  filler = AttrMapValue(None, desc='Filler Class.',advancedUsage=1),
33
33
  name = AttrMapValue(isStringOrNone, desc='Name of the line.'),
34
+ lineStyle = AttrMapValue(NoneOr(OneOf('line','joinedLine','bar')), desc="What kind of plot this line is",advancedUsage=1),
35
+ barWidth = AttrMapValue(isNumberOrNone,desc="Percentage of available width to be used for a bar",advancedUsage=1),
34
36
  inFill = AttrMapValue(isBoolean, desc='If true flood fill to x axis',advancedUsage=1),
35
37
  )
36
38
 
@@ -91,7 +93,7 @@ class LinePlot(AbstractLineChart):
91
93
  lineLabels = AttrMapValue(None, desc='Handle to the list of data point labels.'),
92
94
  lineLabelFormat = AttrMapValue(None, desc='Formatting string or function used for data point labels.'),
93
95
  lineLabelArray = AttrMapValue(None, desc='explicit array of line label values, must match size of data if present.'),
94
- joinedLines = AttrMapValue(isNumber, desc='Display data points joined with lines if true.'),
96
+ #joinedLines = AttrMapValue(isNumber, desc='Display data points joined with lines if true.'),
95
97
  strokeColor = AttrMapValue(isColorOrNone, desc='Color used for background border of plot area.'),
96
98
  fillColor = AttrMapValue(isColorOrNone, desc='Color used for background interior of plot area.'),
97
99
  lines = AttrMapValue(None, desc='Handle of the lines.'),
@@ -118,6 +120,7 @@ class LinePlot(AbstractLineChart):
118
120
 
119
121
  self.lines = TypedPropertyCollection(LinePlotProperties)
120
122
  self.lines.strokeWidth = 1
123
+ self.joinedLines = 1 # Connect items with straight lines.
121
124
  self.lines[0].strokeColor = colors.red
122
125
  self.lines[1].strokeColor = colors.blue
123
126
 
@@ -135,15 +138,20 @@ class LinePlot(AbstractLineChart):
135
138
  # if you have multiple series, by default they butt
136
139
  # together.
137
140
 
138
- # New line chart attributes.
139
- self.joinedLines = 1 # Connect items with straight lines.
140
-
141
141
  #private attributes
142
142
  self._inFill = None
143
143
  self.annotations = []
144
144
  self.behindAxes = 0
145
145
  self.gridFirst = 0
146
146
 
147
+ @property
148
+ def joinedLines(self):
149
+ return self.lines.lineStyle=='joinedLine'
150
+
151
+ @joinedLines.setter
152
+ def joinedLines(self,v):
153
+ self.lines.lineStyle = 'joinedLine' if v else 'line'
154
+
147
155
  def demo(self):
148
156
  """Shows basic use of a line chart."""
149
157
 
@@ -292,6 +300,7 @@ class LinePlot(AbstractLineChart):
292
300
  inFillX0 = yA._x
293
301
  inFillX1 = inFillX0 + xA._length
294
302
  inFillG = getattr(self,'_inFillG',g)
303
+ bw = None
295
304
  lG = getattr(self,'_lineG',g)
296
305
  # Iterate over data rows.
297
306
  R = range(len(P))
@@ -301,9 +310,11 @@ class LinePlot(AbstractLineChart):
301
310
  styleRowNo = rowNo % styleCount
302
311
  rowStyle = lines[styleRowNo]
303
312
  strokeColor = getattr(rowStyle,'strokeColor',None)
313
+ strokeWidth = getattr(rowStyle,'strokeWidth',None)
304
314
  fillColor = getattr(rowStyle, 'fillColor', strokeColor)
305
315
  inFill = getattr(rowStyle,'inFill',_inFill)
306
316
  dash = getattr(rowStyle, 'strokeDashArray', None)
317
+ lineStyle = getattr(rowStyle,'lineStyle',None)
307
318
 
308
319
  if hasattr(rowStyle, 'strokeWidth'):
309
320
  width = rowStyle.strokeWidth
@@ -313,7 +324,33 @@ class LinePlot(AbstractLineChart):
313
324
  width = None
314
325
 
315
326
  # Iterate over data columns.
316
- if self.joinedLines:
327
+ if lineStyle=='bar':
328
+ if bw is None:
329
+ x = max(map(len,P)) - 1 #the number of gaps
330
+ bw = (self.width/x - 1) if x>0 else self.width
331
+ barWidth = getattr(rowStyle,'barWidth',Percentage(50))
332
+ x = self.yValueAxis
333
+ y0 = x.scale(0)
334
+ bypos = max(x._y,y0)
335
+ byneg = min(x._y+x._length,y0)
336
+ xmin = self.xValueAxis._x
337
+ xmax = xmin + self.xValueAxis._length
338
+ if isinstance(barWidth,Percentage):
339
+ bw *= barWidth*0.005
340
+ else:
341
+ bw = barWidth*0.5
342
+ for x, y in row:
343
+ w = bw
344
+ #print(f'{x=} {y=} {y0=} {byneg=} {bypos=}')
345
+ _y0 = byneg if y<y0 else bypos
346
+ x -= w/2
347
+ if x<xmin:
348
+ w -= xmin - x
349
+ x = xmin
350
+ elif x+w > xmax:
351
+ w -= xmax - x
352
+ g.add(Rect(x,_y0,w,y-_y0,strokeWidth=strokeWidth,strokeColor=strokeColor,fillColor=fillColor))
353
+ elif lineStyle=='joinedLine':
317
354
  points = flatten(row)
318
355
  if inFill or isinstance(row,FillPairedData):
319
356
  filler = getattr(rowStyle, 'filler', None)
@@ -16,6 +16,7 @@ from reportlab.graphics.shapes import *
16
16
  from reportlab.graphics.renderbase import getStateDelta, renderScaledDrawing
17
17
  from reportlab.pdfbase.pdfmetrics import getFont, unicode2T1
18
18
  from reportlab.lib.utils import isUnicode
19
+ from reportlab.lib.colors import toColor, white
19
20
  from reportlab import rl_config
20
21
  from .utils import setFont as _setFont, RenderPMError
21
22
 
@@ -69,6 +70,13 @@ def Color2Hex(c):
69
70
  if c: return ((0xFF&int(255*c.red)) << 16) | ((0xFF&int(255*c.green)) << 8) | (0xFF&int(255*c.blue))
70
71
  return c
71
72
 
73
+ def CairoColor(c):
74
+ '''
75
+ c should be None or something convertible to Color
76
+ rlPyCairo.GState can handle Color directly in either RGB24 or ARGB32
77
+ '''
78
+ return toColor(c) if c is not None else c
79
+
72
80
  # the main entry point for users...
73
81
  def draw(drawing, canvas, x, y, showBoundary=rl_config._unset_):
74
82
  """As it says"""
@@ -293,6 +301,7 @@ def _saveAsPICT(im,fn,fmt,transparent=None):
293
301
  else:
294
302
  fn.write(s)
295
303
 
304
+ _pycairoFmtsMap = dict(ARGB='ARGB32',RGBA='ARGB32',RGB='RGB24')
296
305
  BEZIER_ARC_MAGIC = 0.5522847498 #constant for drawing circular arcs w/ Beziers
297
306
  class PMCanvas:
298
307
  def __init__(self,w,h,dpi=72,bg=0xffffff,configPIL=None,backend=None,
@@ -301,7 +310,7 @@ class PMCanvas:
301
310
  scale = dpi/72.0
302
311
  w = int(w*scale+0.5)
303
312
  h = int(h*scale+0.5)
304
- self.__dict__['_gs'] = self._getGState(w,h,bg,backend)
313
+ self.__dict__['_gs'] = self._getGState(w,h,bg,backend,fmt=backendFmt)
305
314
  self.__dict__['_bg'] = bg
306
315
  self.__dict__['_baseCTM'] = (scale,0,0,scale,0,0)
307
316
  self.__dict__['_clipPaths'] = []
@@ -310,6 +319,7 @@ class PMCanvas:
310
319
  #the _rl_renderPM.gstate object doesn't support hasattr so we use this as a proxy test for 'isbuiltin'
311
320
  self.__dict__['_backend'] = '_renderPM' if type(self._gs._aapixbuf)==type(pow) else 'rlPyCairo'
312
321
  self.__dict__['_backendfmt'] = backendFmt
322
+ self.__dict__['_colorConverter'] = CairoColor if self._backend=='rlPyCairo' else Color2Hex
313
323
  self.ctm = self._baseCTM
314
324
 
315
325
  @staticmethod
@@ -326,6 +336,8 @@ class PMCanvas:
326
336
  except:
327
337
  pass
328
338
  elif 'cairo' in backend.lower():
339
+ fmt = fmt.upper()
340
+ fmt = _pycairoFmtsMap.get(fmt,fmt)
329
341
  try:
330
342
  return mod.GState(w,h,bg,fmt=fmt)
331
343
  except AttributeError:
@@ -347,7 +359,7 @@ class PMCanvas:
347
359
  gs.setFont(fN,fS)
348
360
 
349
361
  def toPIL(self):
350
- im = _getImage().new('RGB', size=(self._gs.width, self._gs.height))
362
+ im = _getImage().new('RGBA' if self._backend=='rlPyCairo' and getattr(self,'_fmt')=='ARGB32' else 'RGB', size=(self._gs.width, self._gs.height))
351
363
  im.frombytes(self._gs.pixBuf)
352
364
  return im
353
365
 
@@ -419,7 +431,13 @@ class PMCanvas:
419
431
  '''
420
432
  import struct
421
433
  gs = self._gs
422
- pix, width, height = gs.pixBuf, gs.width, gs.height
434
+ if self._backend=='rlPyCairo' and gs._fmt=='ARGB32': #pixBuf would have 4 bytes
435
+ gs._fmt = 'RGB24' #force 3 bytes out until our BMP allows Alpha
436
+ pix = gs.pixBuf
437
+ gs._fmt = 'ARGB32'
438
+ else:
439
+ pix = gs.pixBuf
440
+ width, height = gs.width, gs.height
423
441
  f.write(struct.pack('=2sLLLLLLhh24x','BM',len(pix)+54,0,54,40,width,height,1,24))
424
442
  rowb = width * 3
425
443
  for o in range(len(pix),0,-rowb):
@@ -673,13 +691,13 @@ class PMCanvas:
673
691
  pass
674
692
 
675
693
  def setFillColor(self,aColor):
676
- self.fillColor = Color2Hex(aColor)
694
+ self.fillColor = self._colorConverter(aColor)
677
695
  alpha = getattr(aColor,'alpha',None)
678
696
  if alpha is not None:
679
697
  self.fillOpacity = alpha
680
698
 
681
699
  def setStrokeColor(self,aColor):
682
- self.strokeColor = Color2Hex(aColor)
700
+ self.strokeColor = self._colorConverter(aColor)
683
701
  alpha = getattr(aColor,'alpha',None)
684
702
  if alpha is not None:
685
703
  self.strokeOpacity = alpha
@@ -696,29 +714,29 @@ class PMCanvas:
696
714
  def setLineWidth(self,width):
697
715
  self.strokeWidth = width
698
716
 
699
- def drawToPMCanvas(d, dpi=72, bg=0xffffff, configPIL=None, showBoundary=rl_config._unset_,backend=rl_config.renderPMBackend):
717
+ def drawToPMCanvas(d, dpi=72, bg=0xffffff, configPIL=None, showBoundary=rl_config._unset_,backend=rl_config.renderPMBackend,backendFmt='RGB'):
700
718
  d = renderScaledDrawing(d)
701
- c = PMCanvas(d.width, d.height, dpi=dpi, bg=bg, configPIL=configPIL, backend=backend)
719
+ c = PMCanvas(d.width, d.height, dpi=dpi, bg=bg, configPIL=configPIL, backend=backend,backendFmt=backendFmt)
702
720
  draw(d, c, 0, 0, showBoundary=showBoundary)
703
721
  return c
704
722
 
705
- def drawToPIL(d, dpi=72, bg=0xffffff, configPIL=None, showBoundary=rl_config._unset_,backend=rl_config.renderPMBackend):
706
- return drawToPMCanvas(d, dpi=dpi, bg=bg, configPIL=configPIL, showBoundary=showBoundary, backend=backend).toPIL()
723
+ def drawToPIL(d, dpi=72, bg=0xffffff, configPIL=None, showBoundary=rl_config._unset_,backend=rl_config.renderPMBackend,backendFmt='RGB'):
724
+ return drawToPMCanvas(d, dpi=dpi, bg=bg, configPIL=configPIL, showBoundary=showBoundary, backend=backend,backendFmt=backendFmt).toPIL()
707
725
 
708
- def drawToPILP(d, dpi=72, bg=0xffffff, configPIL=None, showBoundary=rl_config._unset_,backend=rl_config.renderPMBackend):
726
+ def drawToPILP(d, dpi=72, bg=0xffffff, configPIL=None, showBoundary=rl_config._unset_,backend=rl_config.renderPMBackend,backendFmt='RGB'):
709
727
  Image = _getImage()
710
- im = drawToPIL(d, dpi=dpi, bg=bg, configPIL=configPIL, showBoundary=showBoundary,backend=backend)
728
+ im = drawToPIL(d, dpi=dpi, bg=bg, configPIL=configPIL, showBoundary=showBoundary,backend=backend,backendFmt=backendFmt)
711
729
  return im.convert("P", dither=Image.NONE, palette=Image.ADAPTIVE)
712
730
 
713
- def drawToFile(d,fn,fmt='GIF', dpi=72, bg=0xffffff, configPIL=None, showBoundary=rl_config._unset_,backend=rl_config.renderPMBackend):
731
+ def drawToFile(d,fn,fmt='GIF', dpi=72, bg=0xffffff, configPIL=None, showBoundary=rl_config._unset_,backend=rl_config.renderPMBackend,backendFmt='RGB'):
714
732
  '''create a pixmap and draw drawing, d to it then save as a file
715
733
  configPIL dict is passed to image save method'''
716
- c = drawToPMCanvas(d, dpi=dpi, bg=bg, configPIL=configPIL, showBoundary=showBoundary,backend=backend)
734
+ c = drawToPMCanvas(d, dpi=dpi, bg=bg, configPIL=configPIL, showBoundary=showBoundary,backend=backend,backendFmt=backendFmt)
717
735
  c.saveToFile(fn,fmt)
718
736
 
719
- def drawToString(d,fmt='GIF', dpi=72, bg=0xffffff, configPIL=None, showBoundary=rl_config._unset_,backend=rl_config.renderPMBackend):
737
+ def drawToString(d,fmt='GIF', dpi=72, bg=0xffffff, configPIL=None, showBoundary=rl_config._unset_,backend=rl_config.renderPMBackend,backendFmt='RGB'):
720
738
  s = BytesIO()
721
- drawToFile(d,s,fmt=fmt, dpi=dpi, bg=bg, configPIL=configPIL,backend=backend)
739
+ drawToFile(d,s,fmt=fmt, dpi=dpi, bg=bg, configPIL=configPIL,backend=backend,backendFmt=backendFmt)
722
740
  return s.getvalue()
723
741
 
724
742
  save = drawToFile
@@ -784,7 +802,6 @@ def test(outDir='pmout', shout=False):
784
802
  if os.path.isfile(fullpath):
785
803
  os.remove(fullpath)
786
804
  if k=='pct':
787
- from reportlab.lib.colors import white
788
805
  drawToFile(drawing,fullpath,fmt=k,configPIL={'transparent':white})
789
806
  elif k in ['py','svg']:
790
807
  drawing.save(formats=['py','svg'],outDir=outDir,fnRoot=fnRoot)
@@ -99,26 +99,40 @@ class AttrMap(dict):
99
99
  def validateSetattr(obj,name,value):
100
100
  '''validate setattr(obj,name,value)'''
101
101
  if rl_config.shapeChecking:
102
- map = obj._attrMap
103
- if map and name[0]!= '_':
102
+ aMap = obj._attrMap
103
+ if aMap and name[0]!= '_':
104
104
  #we always allow the inherited values; they cannot
105
105
  #be checked until draw time.
106
106
  if isinstance(value, DerivedValue):
107
107
  #let it through
108
108
  pass
109
- else:
109
+ elif name in aMap:
110
+ validate = aMap[name].validate
110
111
  try:
111
- validate = map[name].validate
112
- if not validate(value):
113
- raise AttributeError("Illegal assignment of '%s' to '%s' in class %s" % (value, name, obj.__class__.__name__))
114
- except KeyError:
112
+ r = validate(value)
113
+ except Exception as e:
114
+ raise e.__class__(f"{obj.__class__.__name__}.{name} {validate}({value!r})") from e
115
+ else:
116
+ if not r:
117
+ raise AttributeError(f"Illegal assignment of {value!r} to {name} in class {obj.__class__.__name__}")
118
+ else:
119
+ prop = getattr(obj.__class__,name,None)
120
+ if isinstance(prop,property):
121
+ fset = getattr(prop,'fset',None)
122
+ if fset:
123
+ fset(obj,value)
124
+ return
125
+ else:
126
+ raise AttributeError(f"{obj.__class__.__name__}.{name} has no setter")
127
+ else:
115
128
  raise AttributeError("Illegal attribute '%s' in class %s" % (name, obj.__class__.__name__))
116
129
  prop = getattr(obj.__class__,name,None)
117
130
  if isinstance(prop,property):
118
- try:
119
- prop.__set__(obj,value)
120
- except AttributeError:
121
- pass
131
+ fset = getattr(prop,'fset',None)
132
+ if fset:
133
+ fset(obj,value)
134
+ else:
135
+ raise AttributeError(f"{obj.__class__.__name__}.{name} has no setter")
122
136
  elif name=='__dict__':
123
137
  obj.__dict__.clear()
124
138
  obj.__dict__.update(value)
@@ -119,7 +119,11 @@ class Color:
119
119
 
120
120
  def int_rgba(self):
121
121
  v = self.bitmap_rgba()
122
- return int((v[0]<<24|v[1]<<16|v[2]<<8|v[3])&0xffffff)
122
+ return int(v[0]<<24|v[1]<<16|v[2]<<8|v[3])
123
+
124
+ def int_argb(self):
125
+ v = self.bitmap_rgba()
126
+ return int(v[3]<<24|v[0]<<16|v[1]<<8|v[2])
123
127
 
124
128
  _cKwds='red green blue alpha'.split()
125
129
  def cKwds(self):
@@ -1160,12 +1160,19 @@ class TTFont:
1160
1160
  # always has code 32 (for word spacing to work) and the ASCII
1161
1161
  # output is readable
1162
1162
  #simple asciiReadable setup
1163
- subset0 = list(range(128))
1164
- for n in subset0:
1165
- A[n] = n
1166
- self.subsets = [subset0]
1167
- #self.nextCode = 1 #if doing fillin of [1-31]
1168
- self.nextCode = 128
1163
+ subset0 = list(range(32,128)) #assume we have all of ASCII
1164
+ charToGlyph = getattr(face,'charToGlyph',None)
1165
+ if charToGlyph:
1166
+ for n in subset0:
1167
+ if n in charToGlyph:
1168
+ A[n] = n
1169
+ else:
1170
+ for n in subset0:
1171
+ A[n] = n
1172
+ A[0] = 0
1173
+ self.subsets = [32*[0] + subset0]
1174
+ self.nextCode = 1 #if doing fillin of [1-31]
1175
+ #self.nextCode = 128 #if not doing fillin
1169
1176
  else:
1170
1177
  self.subsets = [[0]+[32]*32]
1171
1178
  A[0] = 0
@@ -1213,12 +1220,13 @@ class TTFont:
1213
1220
  asciiReadable = self._asciiReadable
1214
1221
  try: state = self.state[doc]
1215
1222
  except KeyError: state = self.state[doc] = TTFont.State(asciiReadable,self)
1216
- #_31skip = 31 if asciiReadable and state.nextCode<32 else -256
1223
+ _31skip = 31 if asciiReadable and state.nextCode<32 else -256
1217
1224
  curSet = -1
1218
1225
  cur = []
1219
1226
  results = []
1220
1227
  if not isUnicode(text):
1221
1228
  text = text.decode('utf-8') # encoding defaults to utf-8
1229
+ charToGlyph = self.face.charToGlyph
1222
1230
  assignments = state.assignments
1223
1231
  subsets = state.subsets
1224
1232
  #reserveTTFNotdef = rl_config.reserveTTFNotdef we ignore this now
@@ -1226,6 +1234,8 @@ class TTFont:
1226
1234
  if code==0xa0: code = 32 #map nbsp into space
1227
1235
  if code in assignments:
1228
1236
  n = assignments[code]
1237
+ elif code not in charToGlyph:
1238
+ n = 0
1229
1239
  else:
1230
1240
  if state.frozen:
1231
1241
  raise pdfdoc.PDFError("Font %s is already frozen, cannot add new character U+%04X" % (self.fontName, code))
@@ -1242,10 +1252,10 @@ class TTFont:
1242
1252
  n = state.nextCode
1243
1253
  subsets[n >> 8].append(code)
1244
1254
  else:
1245
- #if n==_31skip:
1246
- # #we heve filled in first part of subsets[0] skip past subset[32:127]
1247
- # #this code will be executed once if asciiReadable
1248
- # state.nextCode = 127
1255
+ if n==_31skip:
1256
+ #we heve filled in first part of subsets[0] skip past subset[32:127]
1257
+ #this code will be executed once if asciiReadable
1258
+ state.nextCode = 127
1249
1259
  subsets[0][n] = code
1250
1260
  state.nextCode += 1
1251
1261
  assignments[code] = n
@@ -6,7 +6,10 @@ The Canvas object is the primary interface for creating PDF files. See
6
6
  doc/reportlab-userguide.pdf for copious examples.
7
7
  """
8
8
 
9
- __all__ = ['Canvas']
9
+ __all__ = [
10
+ 'Canvas',
11
+ 'ShowBoundaryValue',
12
+ ]
10
13
  ENABLE_TRACKING = 1 # turn this off to do profile testing w/o tracking
11
14
 
12
15
  import re
@@ -209,6 +212,15 @@ def _gradientExtendStr(extend):
209
212
  return "[%s %s]" % ['true' if _ else 'false' for _ in extend]
210
213
  return "[true true]" if extend else "[false false]"
211
214
 
215
+ class ShowBoundaryValue:
216
+ def __init__(self,color=(0,0,0),width=0.1,dashArray=None):
217
+ self.color = color
218
+ self.width = width
219
+ self.dashArray = dashArray
220
+
221
+ def __bool__(self):
222
+ return self.color is not None and self.width>=0
223
+
212
224
  class Canvas(_PDFColorSetter):
213
225
  """This class is the programmer's interface to the PDF file format. Methods
214
226
  are (or will be) provided here to do just about everything PDF can do.
@@ -1977,12 +1989,27 @@ class Canvas(_PDFColorSetter):
1977
1989
  self._doc._catalog.AcroForm = self.AcroForm = AcroForm(self)
1978
1990
  return self.AcroForm
1979
1991
 
1980
- @property
1981
- def drawBoundary(self):
1982
- if not hasattr(self,'_drawBoundary'):
1983
- from reportlab.platypus import Frame
1984
- self._drawBoundary = lambda sb,x,y,w,h: Frame._drawBoundary(self,sb,x,y,w,h)
1985
- return self._drawBoundary
1992
+ def drawBoundary(self,sb,x1,y1,width,height):
1993
+ "draw a boundary as a rectangle (primarily for debugging)."
1994
+ ss = isinstance(sb,(str,tuple,list)) or isinstance(sb,Color)
1995
+ w = -1
1996
+ da = None
1997
+ if ss:
1998
+ c = toColor(sb,-1)
1999
+ ss = c != -1
2000
+ elif isinstance(sb,ShowBoundaryValue) and sb:
2001
+ c = toColor(sb.color,-1)
2002
+ ss = c != -1
2003
+ if ss:
2004
+ w = sb.width
2005
+ da = sb.dashArray
2006
+ if ss:
2007
+ self.saveState()
2008
+ self.setStrokeColor(c)
2009
+ if w>=0: self.setLineWidth(w)
2010
+ if da: self.setDash(da)
2011
+ self.rect(x1,y1,width,height)
2012
+ if ss: self.restoreState()
1986
2013
 
1987
2014
  if __name__ == '__main__':
1988
2015
  print('For test scripts, look in tests')
@@ -30,7 +30,7 @@ from reportlab.lib.colors import gray, lightgrey
30
30
  from reportlab.lib.rl_accel import fp_str
31
31
  from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_RIGHT
32
32
  from reportlab.lib.styles import _baseFontName
33
- from reportlab.lib.utils import strTypes, rl_safe_exec
33
+ from reportlab.lib.utils import strTypes, rl_safe_exec, annotateException
34
34
  from reportlab.lib.abag import ABag
35
35
  from reportlab.pdfbase import pdfutils
36
36
  from reportlab.pdfbase.pdfmetrics import stringWidth
@@ -691,10 +691,8 @@ class KeepTogether(_ContainerSpace,Flowable):
691
691
  #cache these on the class
692
692
  from reportlab.platypus.doctemplate import NullActionFlowable
693
693
  from reportlab.platypus.doctemplate import FrameBreak
694
- from reportlab.lib.utils import annotateException
695
694
  KeepTogether.NullActionFlowable = NullActionFlowable
696
695
  KeepTogether.FrameBreak = FrameBreak
697
- self.annotateException = annotateException
698
696
 
699
697
  if not flowables:
700
698
  flowables = [self.NullActionFlowable()]
@@ -713,7 +711,7 @@ class KeepTogether(_ContainerSpace,Flowable):
713
711
  try:
714
712
  W,H = _listWrapOn(self._content,aW,self.canv,dims=dims)
715
713
  except:
716
- self.annotateException('\nraised by class %s(%s)@0x%8.8x wrap\n' % (self.__class__.__name__,self.__class__.__module__,id(self)))
714
+ annotateException('\nraised by class %s(%s)@0x%8.8x wrap\n' % (self.__class__.__name__,self.__class__.__module__,id(self)))
717
715
  self._H = H
718
716
  self._H0 = dims and dims[0][1] or 0
719
717
  self._wrapInfo = aW,aH
@@ -2097,14 +2095,22 @@ class LIIndenter(DDIndenter):
2097
2095
  self.spaceAfter = spaceAfter
2098
2096
 
2099
2097
  def split(self, aW, aH):
2100
- S = self._flowable.split(aW-self._leftIndent-self._rightIndent, aH)
2098
+ f = self._flowable
2099
+ S = f.split(aW-self._leftIndent-self._rightIndent, aH)
2100
+ if len(S)>1 and hasattr(f,'blPara'):
2101
+ cnl = len(f.blPara.lines)
2102
+ nnl = len(S[0].blPara.lines)
2103
+ #avoid 1/2 line widow when justified else avoid 1 line widow
2104
+ if ((getattr(getattr(f,'style',None),'alignment',None)==4 and nnl>=(cnl-2))
2105
+ or nnl==(cnl-1)):
2106
+ S = []
2101
2107
  return [
2102
2108
  LIIndenter(s,
2103
2109
  leftIndent=self._leftIndent,
2104
2110
  rightIndent=self._rightIndent,
2105
2111
  bullet = (s is S[0] and self._bullet or None),
2106
2112
  ) for s in S
2107
- ]
2113
+ ] if S else []
2108
2114
 
2109
2115
  def drawOn(self, canv, x, y, _sW=0):
2110
2116
  if self._bullet: