reportlab 4.1.0__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 (733) hide show
  1. {reportlab-4.1.0 → reportlab-4.2.0}/CHANGES.md +5 -0
  2. {reportlab-4.1.0 → reportlab-4.2.0}/PKG-INFO +1 -1
  3. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/__init__.py +2 -2
  4. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/test.py +3 -0
  5. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/renderPM.py +33 -16
  6. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/colors.py +5 -1
  7. reportlab-4.2.0/src/reportlab/license.txt +29 -0
  8. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/platypus/flowables.py +10 -2
  9. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab.egg-info/PKG-INFO +1 -1
  10. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab.egg-info/SOURCES.txt +195 -0
  11. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample0c.gif +0 -0
  12. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample0c.py +57 -0
  13. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample1.gif +0 -0
  14. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample1.py +47 -0
  15. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample4a.gif +0 -0
  16. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample4a.py +46 -0
  17. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample4b.gif +0 -0
  18. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample4b.py +46 -0
  19. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample4c.gif +0 -0
  20. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample4c.py +46 -0
  21. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample4c1.gif +0 -0
  22. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample4c1.py +36 -0
  23. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample4d.gif +0 -0
  24. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample4d.py +46 -0
  25. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample5a.gif +0 -0
  26. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample5a.py +46 -0
  27. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample5b.gif +0 -0
  28. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample5b.py +46 -0
  29. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample5c.gif +0 -0
  30. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample5c.py +46 -0
  31. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample5d.gif +0 -0
  32. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample5d.py +46 -0
  33. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample6a.gif +0 -0
  34. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample6a.py +47 -0
  35. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample6b.gif +0 -0
  36. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample6b.py +47 -0
  37. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample6c.gif +0 -0
  38. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample6c.py +47 -0
  39. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample6d.gif +0 -0
  40. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample6d.py +47 -0
  41. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample7a.gif +0 -0
  42. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample7a.py +47 -0
  43. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample7b.gif +0 -0
  44. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample7b.py +47 -0
  45. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample7c.gif +0 -0
  46. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample7c.py +47 -0
  47. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample7d.gif +0 -0
  48. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample7d.py +47 -0
  49. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample8a.gif +0 -0
  50. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample8a.py +104 -0
  51. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample8b.gif +0 -0
  52. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample8b.py +104 -0
  53. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample9a.gif +0 -0
  54. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample9a.py +110 -0
  55. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample9b.gif +0 -0
  56. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample9b.py +119 -0
  57. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample9c.gif +0 -0
  58. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample9c.py +119 -0
  59. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample_hatching.gif +0 -0
  60. reportlab-4.2.0/tests/charts-out/test_graphics_charts_axes_sample_hatching.py +13 -0
  61. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_SampleH5c4.gif +0 -0
  62. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_SampleH5c4.py +52 -0
  63. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH0a.gif +0 -0
  64. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH0a.py +46 -0
  65. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH0b.gif +0 -0
  66. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH0b.py +37 -0
  67. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH0c.gif +0 -0
  68. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH0c.py +36 -0
  69. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH1.gif +0 -0
  70. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH1.py +84 -0
  71. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH2a.gif +0 -0
  72. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH2a.py +74 -0
  73. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH2b.gif +0 -0
  74. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH2b.py +74 -0
  75. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH2c.gif +0 -0
  76. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH2c.py +104 -0
  77. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH3.gif +0 -0
  78. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH3.py +83 -0
  79. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH4a.gif +0 -0
  80. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH4a.py +46 -0
  81. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH4b.gif +0 -0
  82. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH4b.py +46 -0
  83. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH4c.gif +0 -0
  84. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH4c.py +42 -0
  85. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH4d.gif +0 -0
  86. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH4d.py +34 -0
  87. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH5a.gif +0 -0
  88. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH5a.py +52 -0
  89. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH5b.gif +0 -0
  90. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH5b.py +52 -0
  91. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH5c1.gif +0 -0
  92. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH5c1.py +52 -0
  93. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH5c2.gif +0 -0
  94. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH5c2.py +52 -0
  95. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH5c3.gif +0 -0
  96. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH5c3.py +52 -0
  97. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH5c4.gif +0 -0
  98. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleH5c4.py +52 -0
  99. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleStacked1.gif +0 -0
  100. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleStacked1.py +216 -0
  101. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleSymbol1.gif +0 -0
  102. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleSymbol1.py +214 -0
  103. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV0a.gif +0 -0
  104. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV0a.py +46 -0
  105. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV0b.gif +0 -0
  106. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV0b.py +37 -0
  107. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV0c.gif +0 -0
  108. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV0c.py +36 -0
  109. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV1.gif +0 -0
  110. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV1.py +84 -0
  111. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV2a.gif +0 -0
  112. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV2a.py +74 -0
  113. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV2b.gif +0 -0
  114. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV2b.py +74 -0
  115. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV2c.gif +0 -0
  116. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV2c.py +104 -0
  117. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV3.gif +0 -0
  118. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV3.py +85 -0
  119. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV4a.gif +0 -0
  120. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV4a.py +46 -0
  121. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV4b.gif +0 -0
  122. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV4b.py +46 -0
  123. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV4c.gif +0 -0
  124. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV4c.py +42 -0
  125. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV4d.gif +0 -0
  126. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV4d.py +34 -0
  127. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV5a.gif +0 -0
  128. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV5a.py +52 -0
  129. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV5b.gif +0 -0
  130. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV5b.py +52 -0
  131. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV5c1.gif +0 -0
  132. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV5c1.py +52 -0
  133. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV5c2.gif +0 -0
  134. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV5c2.py +52 -0
  135. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV5c3.gif +0 -0
  136. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV5c3.py +52 -0
  137. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV5c4.gif +0 -0
  138. reportlab-4.2.0/tests/charts-out/test_graphics_charts_barcharts_sampleV5c4.py +52 -0
  139. reportlab-4.2.0/tests/charts-out/test_graphics_charts_ddf_sampleDoughnutDDFLabels.gif +0 -0
  140. reportlab-4.2.0/tests/charts-out/test_graphics_charts_ddf_sampleDoughnutDDFLabels.py +55 -0
  141. reportlab-4.2.0/tests/charts-out/test_graphics_charts_ddf_samplePieDDFLabels.gif +0 -0
  142. reportlab-4.2.0/tests/charts-out/test_graphics_charts_ddf_samplePieDDFLabels.py +93 -0
  143. reportlab-4.2.0/tests/charts-out/test_graphics_charts_ddf_sampleSpiderDDFLabels.gif +0 -0
  144. reportlab-4.2.0/tests/charts-out/test_graphics_charts_ddf_sampleSpiderDDFLabels.py +263 -0
  145. reportlab-4.2.0/tests/charts-out/test_graphics_charts_doughnut_sample1.gif +0 -0
  146. reportlab-4.2.0/tests/charts-out/test_graphics_charts_doughnut_sample1.py +16 -0
  147. reportlab-4.2.0/tests/charts-out/test_graphics_charts_doughnut_sample2.gif +0 -0
  148. reportlab-4.2.0/tests/charts-out/test_graphics_charts_doughnut_sample2.py +18 -0
  149. reportlab-4.2.0/tests/charts-out/test_graphics_charts_doughnut_sample3.gif +0 -0
  150. reportlab-4.2.0/tests/charts-out/test_graphics_charts_doughnut_sample3.py +28 -0
  151. reportlab-4.2.0/tests/charts-out/test_graphics_charts_doughnut_sample4.gif +0 -0
  152. reportlab-4.2.0/tests/charts-out/test_graphics_charts_doughnut_sample4.py +28 -0
  153. reportlab-4.2.0/tests/charts-out/test_graphics_charts_legends_sample3.gif +0 -0
  154. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample3.py +7 -7
  155. reportlab-4.2.0/tests/charts-out/test_graphics_charts_legends_sample3a.gif +0 -0
  156. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample3a.py +7 -7
  157. reportlab-4.2.0/tests/charts-out/test_graphics_charts_legends_sample4a.gif +0 -0
  158. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample4a.py +7 -7
  159. reportlab-4.2.0/tests/charts-out/test_graphics_charts_linecharts_sample1.gif +0 -0
  160. reportlab-4.2.0/tests/charts-out/test_graphics_charts_linecharts_sample1.py +133 -0
  161. reportlab-4.2.0/tests/charts-out/test_graphics_charts_linecharts_sample1a.gif +0 -0
  162. reportlab-4.2.0/tests/charts-out/test_graphics_charts_linecharts_sample1a.py +139 -0
  163. reportlab-4.2.0/tests/charts-out/test_graphics_charts_linecharts_sample2.gif +0 -0
  164. reportlab-4.2.0/tests/charts-out/test_graphics_charts_linecharts_sample2.py +182 -0
  165. reportlab-4.2.0/tests/charts-out/test_graphics_charts_linecharts_sample3.gif +0 -0
  166. reportlab-4.2.0/tests/charts-out/test_graphics_charts_linecharts_sample3.py +174 -0
  167. reportlab-4.2.0/tests/charts-out/test_graphics_charts_linecharts_sampleCandleStick.gif +0 -0
  168. reportlab-4.2.0/tests/charts-out/test_graphics_charts_linecharts_sampleCandleStick.py +68 -0
  169. reportlab-4.2.0/tests/charts-out/test_graphics_charts_lineplots_sample1a.gif +0 -0
  170. reportlab-4.2.0/tests/charts-out/test_graphics_charts_lineplots_sample1a.py +213 -0
  171. reportlab-4.2.0/tests/charts-out/test_graphics_charts_lineplots_sample1b.gif +0 -0
  172. reportlab-4.2.0/tests/charts-out/test_graphics_charts_lineplots_sample1b.py +113 -0
  173. reportlab-4.2.0/tests/charts-out/test_graphics_charts_lineplots_sample1c.gif +0 -0
  174. reportlab-4.2.0/tests/charts-out/test_graphics_charts_lineplots_sample1c.py +101 -0
  175. reportlab-4.2.0/tests/charts-out/test_graphics_charts_lineplots_sample2.gif +0 -0
  176. reportlab-4.2.0/tests/charts-out/test_graphics_charts_lineplots_sample2.py +83 -0
  177. reportlab-4.2.0/tests/charts-out/test_graphics_charts_lineplots_sampleFillPairedData.gif +0 -0
  178. reportlab-4.2.0/tests/charts-out/test_graphics_charts_lineplots_sampleFillPairedData.py +57 -0
  179. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample0a.gif +0 -0
  180. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample0a.py +14 -0
  181. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample0b.gif +0 -0
  182. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample0b.py +14 -0
  183. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample1.gif +0 -0
  184. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample1.py +24 -0
  185. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample2.gif +0 -0
  186. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample2.py +30 -0
  187. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample3.gif +0 -0
  188. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample3.py +15 -0
  189. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample4.gif +0 -0
  190. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample4.py +18 -0
  191. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample5.gif +0 -0
  192. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample5.py +36 -0
  193. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample6.gif +0 -0
  194. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample6.py +37 -0
  195. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample7.gif +0 -0
  196. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample7.py +180 -0
  197. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample8.gif +0 -0
  198. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample8.py +76 -0
  199. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample9.gif +0 -0
  200. reportlab-4.2.0/tests/charts-out/test_graphics_charts_piecharts_sample9.py +76 -0
  201. reportlab-4.2.0/tests/charts-out/test_graphics_charts_special_sample1line.gif +0 -0
  202. reportlab-4.2.0/tests/charts-out/test_graphics_charts_special_sample2line.gif +0 -0
  203. reportlab-4.2.0/tests/charts-out/test_graphics_charts_special_sample4pie.gif +0 -0
  204. reportlab-4.2.0/tests/charts-out/test_graphics_charts_spider_sample1.gif +0 -0
  205. reportlab-4.2.0/tests/charts-out/test_graphics_charts_spider_sample1.py +42 -0
  206. reportlab-4.2.0/tests/charts-out/test_graphics_charts_spider_sample2.gif +0 -0
  207. reportlab-4.2.0/tests/charts-out/test_graphics_charts_spider_sample2.py +75 -0
  208. reportlab-4.2.0/tests/charts-out/test_graphics_images_alpha_test.png +0 -0
  209. reportlab-4.2.0/tests/charts-out/test_graphics_images_alpha_test8.png +0 -0
  210. reportlab-4.2.0/tests/render-out/410.png +0 -0
  211. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing14.py +2 -2
  212. reportlab-4.2.0/tests/test_graphics_images-libart.gif +0 -0
  213. reportlab-4.2.0/tests/test_graphics_images-libart.png +0 -0
  214. reportlab-4.2.0/tests/test_graphics_images.gif +0 -0
  215. reportlab-4.2.0/tests/test_graphics_images.png +0 -0
  216. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_graphics_images.py +74 -8
  217. {reportlab-4.1.0 → reportlab-4.2.0}/tools/docco/examples.py +10 -32
  218. reportlab-4.1.0/tests/charts-out/test_graphics_charts_legends_sample3.gif +0 -0
  219. reportlab-4.1.0/tests/charts-out/test_graphics_charts_legends_sample3a.gif +0 -0
  220. reportlab-4.1.0/tests/charts-out/test_graphics_charts_legends_sample4a.gif +0 -0
  221. reportlab-4.1.0/tests/charts-out/test_graphics_charts_special_sample1line.gif +0 -0
  222. reportlab-4.1.0/tests/charts-out/test_graphics_charts_special_sample2line.gif +0 -0
  223. reportlab-4.1.0/tests/charts-out/test_graphics_charts_special_sample4pie.gif +0 -0
  224. reportlab-4.1.0/tests/render-out/410.png +0 -0
  225. {reportlab-4.1.0 → reportlab-4.2.0}/INSTALL.txt +0 -0
  226. {reportlab-4.1.0 → reportlab-4.2.0}/LICENSE +0 -0
  227. {reportlab-4.1.0 → reportlab-4.2.0}/MANIFEST.in +0 -0
  228. {reportlab-4.1.0 → reportlab-4.2.0}/README.txt +0 -0
  229. {reportlab-4.1.0 → reportlab-4.2.0}/VERSION.txt +0 -0
  230. {reportlab-4.1.0 → reportlab-4.2.0}/demos/colors/colortest.py +0 -0
  231. {reportlab-4.1.0 → reportlab-4.2.0}/demos/gadflypaper/00readme.txt +0 -0
  232. {reportlab-4.1.0 → reportlab-4.2.0}/demos/gadflypaper/gfe.py +0 -0
  233. {reportlab-4.1.0 → reportlab-4.2.0}/demos/odyssey/00readme.txt +0 -0
  234. {reportlab-4.1.0 → reportlab-4.2.0}/demos/odyssey/dodyssey.py +0 -0
  235. {reportlab-4.1.0 → reportlab-4.2.0}/demos/odyssey/fodyssey.py +0 -0
  236. {reportlab-4.1.0 → reportlab-4.2.0}/demos/odyssey/odyssey.py +0 -0
  237. {reportlab-4.1.0 → reportlab-4.2.0}/demos/odyssey/odyssey.txt +0 -0
  238. {reportlab-4.1.0 → reportlab-4.2.0}/demos/rlzope/readme.txt +0 -0
  239. {reportlab-4.1.0 → reportlab-4.2.0}/demos/rlzope/rlzope.py +0 -0
  240. {reportlab-4.1.0 → reportlab-4.2.0}/demos/stdfonts/00readme.txt +0 -0
  241. {reportlab-4.1.0 → reportlab-4.2.0}/demos/stdfonts/stdfonts.py +0 -0
  242. {reportlab-4.1.0 → reportlab-4.2.0}/demos/tests/testdemos.py +0 -0
  243. {reportlab-4.1.0 → reportlab-4.2.0}/docs/00readme.txt +0 -0
  244. {reportlab-4.1.0 → reportlab-4.2.0}/docs/Makefile +0 -0
  245. {reportlab-4.1.0 → reportlab-4.2.0}/docs/genAll.py +0 -0
  246. {reportlab-4.1.0 → reportlab-4.2.0}/docs/gen_epydoc +0 -0
  247. {reportlab-4.1.0 → reportlab-4.2.0}/docs/images/Edit_Prefs.gif +0 -0
  248. {reportlab-4.1.0 → reportlab-4.2.0}/docs/images/Python_21.gif +0 -0
  249. {reportlab-4.1.0 → reportlab-4.2.0}/docs/images/Python_21_HINT.gif +0 -0
  250. {reportlab-4.1.0 → reportlab-4.2.0}/docs/images/fileExchange.gif +0 -0
  251. {reportlab-4.1.0 → reportlab-4.2.0}/docs/images/jpn.gif +0 -0
  252. {reportlab-4.1.0 → reportlab-4.2.0}/docs/images/jpnchars.jpg +0 -0
  253. {reportlab-4.1.0 → reportlab-4.2.0}/docs/images/lj8100.jpg +0 -0
  254. {reportlab-4.1.0 → reportlab-4.2.0}/docs/images/redsquare.png +0 -0
  255. {reportlab-4.1.0 → reportlab-4.2.0}/docs/images/replogo.a85 +0 -0
  256. {reportlab-4.1.0 → reportlab-4.2.0}/docs/images/replogo.gif +0 -0
  257. {reportlab-4.1.0 → reportlab-4.2.0}/docs/images/testimg.gif +0 -0
  258. {reportlab-4.1.0 → reportlab-4.2.0}/docs/make.bat +0 -0
  259. {reportlab-4.1.0 → reportlab-4.2.0}/docs/reference/build.bat +0 -0
  260. {reportlab-4.1.0 → reportlab-4.2.0}/docs/reference/genreference.py +0 -0
  261. {reportlab-4.1.0 → reportlab-4.2.0}/docs/reference/reference.yml +0 -0
  262. {reportlab-4.1.0 → reportlab-4.2.0}/docs/source/_static/basic.css +0 -0
  263. {reportlab-4.1.0 → reportlab-4.2.0}/docs/source/_static/default.css +0 -0
  264. {reportlab-4.1.0 → reportlab-4.2.0}/docs/source/_templates/layout.html +0 -0
  265. {reportlab-4.1.0 → reportlab-4.2.0}/docs/source/_templates/page.html +0 -0
  266. {reportlab-4.1.0 → reportlab-4.2.0}/docs/source/conf.py +0 -0
  267. {reportlab-4.1.0 → reportlab-4.2.0}/docs/source/graphics.rst +0 -0
  268. {reportlab-4.1.0 → reportlab-4.2.0}/docs/source/index.rst +0 -0
  269. {reportlab-4.1.0 → reportlab-4.2.0}/docs/source/lib.rst +0 -0
  270. {reportlab-4.1.0 → reportlab-4.2.0}/docs/source/pdfgen.rst +0 -0
  271. {reportlab-4.1.0 → reportlab-4.2.0}/docs/source/platypus.rst +0 -0
  272. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/app_demos.py +0 -0
  273. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/ch1_intro.py +0 -0
  274. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/ch2_graphics.py +0 -0
  275. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/ch2a_fonts.py +0 -0
  276. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/ch3_pdffeatures.py +0 -0
  277. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/ch4_platypus_concepts.py +0 -0
  278. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/ch5_paragraphs.py +0 -0
  279. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/ch6_tables.py +0 -0
  280. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/ch7_custom.py +0 -0
  281. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/genuserguide.py +0 -0
  282. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/graph_charts.py +0 -0
  283. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/graph_concepts.py +0 -0
  284. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/graph_intro.py +0 -0
  285. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/graph_shapes.py +0 -0
  286. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/graph_widgets.py +0 -0
  287. {reportlab-4.1.0 → reportlab-4.2.0}/docs/userguide/testfile.txt +0 -0
  288. {reportlab-4.1.0 → reportlab-4.2.0}/pyproject.toml +0 -0
  289. {reportlab-4.1.0 → reportlab-4.2.0}/setup.cfg +0 -0
  290. {reportlab-4.1.0 → reportlab-4.2.0}/setup.py +0 -0
  291. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/MANIFEST.in +0 -0
  292. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/00readme.txt +0 -0
  293. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/DarkGarden-changelog.txt +0 -0
  294. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/DarkGarden-copying-gpl.txt +0 -0
  295. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/DarkGarden-copying.txt +0 -0
  296. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/DarkGarden-readme.txt +0 -0
  297. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/DarkGarden.sfd +0 -0
  298. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/DarkGardenMK.afm +0 -0
  299. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/DarkGardenMK.pfb +0 -0
  300. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/Vera.ttf +0 -0
  301. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/VeraBI.ttf +0 -0
  302. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/VeraBd.ttf +0 -0
  303. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/VeraIt.ttf +0 -0
  304. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/_a______.pfb +0 -0
  305. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/_ab_____.pfb +0 -0
  306. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/_abi____.pfb +0 -0
  307. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/_ai_____.pfb +0 -0
  308. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/_eb_____.pfb +0 -0
  309. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/_ebi____.pfb +0 -0
  310. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/_ei_____.pfb +0 -0
  311. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/_er_____.pfb +0 -0
  312. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/bitstream-vera-license.txt +0 -0
  313. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/callig15.afm +0 -0
  314. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/callig15.pfb +0 -0
  315. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/cob_____.pfb +0 -0
  316. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/cobo____.pfb +0 -0
  317. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/com_____.pfb +0 -0
  318. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/coo_____.pfb +0 -0
  319. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/sy______.pfb +0 -0
  320. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/zd______.pfb +0 -0
  321. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/zx______.pfb +0 -0
  322. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/fonts/zy______.pfb +0 -0
  323. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/__init__.py +0 -0
  324. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/README +0 -0
  325. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/TODO +0 -0
  326. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/__init__.py +0 -0
  327. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/code128.py +0 -0
  328. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/code39.py +0 -0
  329. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/code93.py +0 -0
  330. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/common.py +0 -0
  331. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/dmtx.py +0 -0
  332. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/eanbc.py +0 -0
  333. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/ecc200datamatrix.py +0 -0
  334. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/fourstate.py +0 -0
  335. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/lto.py +0 -0
  336. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/qr.py +0 -0
  337. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/qrencoder.py +0 -0
  338. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/usps.py +0 -0
  339. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/usps4s.py +0 -0
  340. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/barcode/widgets.py +0 -0
  341. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/__init__.py +0 -0
  342. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/areas.py +0 -0
  343. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/axes.py +0 -0
  344. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/barcharts.py +0 -0
  345. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/dotbox.py +0 -0
  346. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/doughnut.py +0 -0
  347. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/legends.py +0 -0
  348. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/linecharts.py +0 -0
  349. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/lineplots.py +0 -0
  350. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/markers.py +0 -0
  351. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/piecharts.py +0 -0
  352. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/slidebox.py +0 -0
  353. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/spider.py +0 -0
  354. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/textlabels.py +0 -0
  355. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/utils.py +0 -0
  356. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/charts/utils3d.py +0 -0
  357. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/renderPDF.py +0 -0
  358. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/renderPS.py +0 -0
  359. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/renderSVG.py +0 -0
  360. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/renderbase.py +0 -0
  361. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/__init__.py +0 -0
  362. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/bubble.py +0 -0
  363. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/clustered_bar.py +0 -0
  364. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/clustered_column.py +0 -0
  365. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/excelcolors.py +0 -0
  366. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/exploded_pie.py +0 -0
  367. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/filled_radar.py +0 -0
  368. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/line_chart.py +0 -0
  369. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/linechart_with_markers.py +0 -0
  370. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/radar.py +0 -0
  371. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/runall.py +0 -0
  372. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/scatter.py +0 -0
  373. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/scatter_lines.py +0 -0
  374. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/scatter_lines_markers.py +0 -0
  375. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/simple_pie.py +0 -0
  376. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/stacked_bar.py +0 -0
  377. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/samples/stacked_column.py +0 -0
  378. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/shapes.py +0 -0
  379. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/svgpath.py +0 -0
  380. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/testdrawings.py +0 -0
  381. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/testshapes.py +0 -0
  382. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/transform.py +0 -0
  383. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/utils.py +0 -0
  384. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/widgetbase.py +0 -0
  385. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/widgets/__init__.py +0 -0
  386. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/widgets/adjustableArrow.py +0 -0
  387. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/widgets/eventcal.py +0 -0
  388. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/widgets/flags.py +0 -0
  389. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/widgets/grids.py +0 -0
  390. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/widgets/markers.py +0 -0
  391. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/widgets/signsandsymbols.py +0 -0
  392. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/graphics/widgets/table.py +0 -0
  393. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/PyFontify.py +0 -0
  394. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/__init__.py +0 -0
  395. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/abag.py +0 -0
  396. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/arciv.py +0 -0
  397. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/attrmap.py +0 -0
  398. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/boxstuff.py +0 -0
  399. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/codecharts.py +0 -0
  400. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/corp.py +0 -0
  401. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/enums.py +0 -0
  402. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/extformat.py +0 -0
  403. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/fontfinder.py +0 -0
  404. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/fonts.py +0 -0
  405. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/formatters.py +0 -0
  406. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/geomutils.py +0 -0
  407. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/logger.py +0 -0
  408. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/normalDate.py +0 -0
  409. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/pagesizes.py +0 -0
  410. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/pdfencrypt.py +0 -0
  411. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/pygments2xpre.py +0 -0
  412. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/randomtext.py +0 -0
  413. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/rl_accel.py +0 -0
  414. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/rl_safe_eval.py +0 -0
  415. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/rltempfile.py +0 -0
  416. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/rparsexml.py +0 -0
  417. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/sequencer.py +0 -0
  418. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/styles.py +0 -0
  419. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/testutils.py +0 -0
  420. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/textsplit.py +0 -0
  421. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/units.py +0 -0
  422. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/utils.py +0 -0
  423. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/validators.py +0 -0
  424. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/lib/yaml.py +0 -0
  425. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/__init__.py +0 -0
  426. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_can_cmap_data.py +0 -0
  427. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_cidfontdata.py +0 -0
  428. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata.py +0 -0
  429. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_macexpert.py +0 -0
  430. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_macroman.py +0 -0
  431. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_pdfdoc.py +0 -0
  432. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_standard.py +0 -0
  433. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_symbol.py +0 -0
  434. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_winansi.py +0 -0
  435. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_enc_zapfdingbats.py +0 -0
  436. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_courier.py +0 -0
  437. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_courierbold.py +0 -0
  438. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_courierboldoblique.py +0 -0
  439. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_courieroblique.py +0 -0
  440. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_helvetica.py +0 -0
  441. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_helveticabold.py +0 -0
  442. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_helveticaboldoblique.py +0 -0
  443. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_helveticaoblique.py +0 -0
  444. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_symbol.py +0 -0
  445. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_timesbold.py +0 -0
  446. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_timesbolditalic.py +0 -0
  447. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_timesitalic.py +0 -0
  448. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_timesroman.py +0 -0
  449. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_fontdata_widths_zapfdingbats.py +0 -0
  450. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/_glyphlist.py +0 -0
  451. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/acroform.py +0 -0
  452. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/cidfonts.py +0 -0
  453. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/pdfdoc.py +0 -0
  454. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/pdfform.py +0 -0
  455. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/pdfmetrics.py +0 -0
  456. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/pdfpattern.py +0 -0
  457. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/pdfutils.py +0 -0
  458. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/rl_codecs.py +0 -0
  459. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfbase/ttfonts.py +0 -0
  460. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfgen/__init__.py +0 -0
  461. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfgen/canvas.py +0 -0
  462. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfgen/pathobject.py +0 -0
  463. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfgen/pdfgeom.py +0 -0
  464. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfgen/pdfimages.py +0 -0
  465. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/pdfgen/textobject.py +0 -0
  466. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/platypus/__init__.py +0 -0
  467. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/platypus/doctemplate.py +0 -0
  468. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/platypus/figures.py +0 -0
  469. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/platypus/frames.py +0 -0
  470. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/platypus/multicol.py +0 -0
  471. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/platypus/para.py +0 -0
  472. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/platypus/paragraph.py +0 -0
  473. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/platypus/paraparser.py +0 -0
  474. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/platypus/tableofcontents.py +0 -0
  475. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/platypus/tables.py +0 -0
  476. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/platypus/xpreformatted.py +0 -0
  477. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/rl_config.py +0 -0
  478. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab/rl_settings.py +0 -0
  479. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab.egg-info/dependency_links.txt +0 -0
  480. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab.egg-info/requires.txt +0 -0
  481. {reportlab-4.1.0 → reportlab-4.2.0}/src/reportlab.egg-info/top_level.txt +0 -0
  482. {reportlab-4.1.0 → reportlab-4.2.0}/tests/00readme.txt +0 -0
  483. {reportlab-4.1.0 → reportlab-4.2.0}/tests/__init__.py +0 -0
  484. {reportlab-4.1.0 → reportlab-4.2.0}/tests/_i_am_actually_a_gif.jpg +0 -0
  485. {reportlab-4.1.0 → reportlab-4.2.0}/tests/_i_am_actually_a_jpeg.gif +0 -0
  486. {reportlab-4.1.0 → reportlab-4.2.0}/tests/alpha_test.png +0 -0
  487. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/Codabar.gif +0 -0
  488. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/Code11.gif +0 -0
  489. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/Code128.gif +0 -0
  490. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/Code128Auto.gif +0 -0
  491. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/EAN13.gif +0 -0
  492. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/EAN5.gif +0 -0
  493. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/EAN8.gif +0 -0
  494. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/ECC200DataMatrix.gif +0 -0
  495. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/Extended39.gif +0 -0
  496. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/Extended93.gif +0 -0
  497. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/FIM.gif +0 -0
  498. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/I2of5.gif +0 -0
  499. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/ISBN.gif +0 -0
  500. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/MSI.gif +0 -0
  501. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/POSTNET.gif +0 -0
  502. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/QR.gif +0 -0
  503. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/QR_with_comma.gif +0 -0
  504. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/Standard39.gif +0 -0
  505. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/Standard93.gif +0 -0
  506. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/UPCA.gif +0 -0
  507. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/USPS_4State.gif +0 -0
  508. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/test_cbcim.gif +0 -0
  509. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/test_cbcim.png +0 -0
  510. {reportlab-4.1.0 → reportlab-4.2.0}/tests/barcode-out/test_cbcim.tiff +0 -0
  511. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample0a.gif +0 -0
  512. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample0a.py +0 -0
  513. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample0b.gif +0 -0
  514. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_axes_sample0b.py +0 -0
  515. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample1c.gif +0 -0
  516. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample1c.py +0 -0
  517. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample2c.gif +0 -0
  518. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_legends_sample2c.py +0 -0
  519. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_bcleg.gif +0 -0
  520. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_bcleg.py +0 -0
  521. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_hlcleg.gif +0 -0
  522. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_hlcleg.py +0 -0
  523. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_lpleg.gif +0 -0
  524. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_lpleg.py +0 -0
  525. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_pcleg.gif +0 -0
  526. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_pcleg.py +0 -0
  527. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_plpleg.gif +0 -0
  528. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_plpleg.py +0 -0
  529. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample1bar.gif +0 -0
  530. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample1bar.py +0 -0
  531. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample1barline.gif +0 -0
  532. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample1barline.py +0 -0
  533. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample1line.py +0 -0
  534. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample2bar.gif +0 -0
  535. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample2bar.py +0 -0
  536. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample2line.py +0 -0
  537. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample3.gif +0 -0
  538. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample3.py +0 -0
  539. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_sample4pie.py +0 -0
  540. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_scleg.gif +0 -0
  541. {reportlab-4.1.0 → reportlab-4.2.0}/tests/charts-out/test_graphics_charts_special_scleg.py +0 -0
  542. {reportlab-4.1.0 → reportlab-4.2.0}/tests/encryption.gif +0 -0
  543. {reportlab-4.1.0 → reportlab-4.2.0}/tests/gray-alpha.png +0 -0
  544. {reportlab-4.1.0 → reportlab-4.2.0}/tests/pythonpowered-gs.gif +0 -0
  545. {reportlab-4.1.0 → reportlab-4.2.0}/tests/pythonpowered.gif +0 -0
  546. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/410.py +0 -0
  547. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing01.gif +0 -0
  548. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing01.jpg +0 -0
  549. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing01.png +0 -0
  550. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing01.py +0 -0
  551. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing02.gif +0 -0
  552. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing02.jpg +0 -0
  553. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing02.png +0 -0
  554. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing02.py +0 -0
  555. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing03.gif +0 -0
  556. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing03.jpg +0 -0
  557. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing03.png +0 -0
  558. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing03.py +0 -0
  559. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing04.gif +0 -0
  560. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing04.jpg +0 -0
  561. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing04.png +0 -0
  562. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing04.py +0 -0
  563. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing05.gif +0 -0
  564. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing05.jpg +0 -0
  565. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing05.png +0 -0
  566. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing05.py +0 -0
  567. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing06.gif +0 -0
  568. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing06.jpg +0 -0
  569. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing06.png +0 -0
  570. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing06.py +0 -0
  571. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing07.gif +0 -0
  572. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing07.jpg +0 -0
  573. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing07.png +0 -0
  574. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing07.py +0 -0
  575. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing08.gif +0 -0
  576. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing08.jpg +0 -0
  577. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing08.png +0 -0
  578. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing08.py +0 -0
  579. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing09.gif +0 -0
  580. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing09.jpg +0 -0
  581. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing09.png +0 -0
  582. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing09.py +0 -0
  583. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing10.gif +0 -0
  584. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing10.jpg +0 -0
  585. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing10.png +0 -0
  586. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing10.py +0 -0
  587. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing11.gif +0 -0
  588. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing11.jpg +0 -0
  589. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing11.png +0 -0
  590. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing11.py +0 -0
  591. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing12.gif +0 -0
  592. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing12.jpg +0 -0
  593. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing12.png +0 -0
  594. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing12.py +0 -0
  595. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing14.gif +0 -0
  596. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing14.jpg +0 -0
  597. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/Drawing14.png +0 -0
  598. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/autoclose-none.png +0 -0
  599. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/autoclose-none.py +0 -0
  600. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/autoclose-pdf.png +0 -0
  601. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/autoclose-pdf.py +0 -0
  602. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/autoclose-svg.png +0 -0
  603. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/autoclose-svg.py +0 -0
  604. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/fillmode-even-odd.png +0 -0
  605. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/fillmode-even-odd.py +0 -0
  606. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/fillmode-non-zero.png +0 -0
  607. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/fillmode-non-zero.py +0 -0
  608. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/hatch.png +0 -0
  609. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/hatch.py +0 -0
  610. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/svglib-issue104.png +0 -0
  611. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/textmode.png +0 -0
  612. {reportlab-4.1.0 → reportlab-4.2.0}/tests/render-out/textmode.py +0 -0
  613. {reportlab-4.1.0 → reportlab-4.2.0}/tests/rltw-icon-tr.png +0 -0
  614. {reportlab-4.1.0 → reportlab-4.2.0}/tests/runAll.py +0 -0
  615. {reportlab-4.1.0 → reportlab-4.2.0}/tests/solid_red_alpha.png +0 -0
  616. {reportlab-4.1.0 → reportlab-4.2.0}/tests/tall_red.png +0 -0
  617. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test-cross.tiff +0 -0
  618. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test-indexed.png +0 -0
  619. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test-rgba.png +0 -0
  620. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_charts_textlabels.py +0 -0
  621. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_crypto_algorithms.py +0 -0
  622. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_docs_build.py +0 -0
  623. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_docstrings.py +0 -0
  624. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_extra.py +0 -0
  625. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_geomutils.py +0 -0
  626. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_graphics_barcode.py +0 -0
  627. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_graphics_charts.py +0 -0
  628. /reportlab-4.1.0/tests/test_graphics_images.gif → /reportlab-4.2.0/tests/test_graphics_images-cairo.gif +0 -0
  629. /reportlab-4.1.0/tests/test_graphics_images.png → /reportlab-4.2.0/tests/test_graphics_images-cairo.png +0 -0
  630. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_graphics_layout.py +0 -0
  631. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_graphics_render.py +0 -0
  632. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_graphics_speed.py +0 -0
  633. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_hello.py +0 -0
  634. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_images.py +0 -0
  635. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_invariant.py +0 -0
  636. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_issues.py +0 -0
  637. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_lib_colors.py +0 -0
  638. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_lib_normaldate.py +0 -0
  639. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_lib_pdfencrypt.py +0 -0
  640. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_lib_rl_safe_eval.py +0 -0
  641. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_lib_sequencer.py +0 -0
  642. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_lib_utils.py +0 -0
  643. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_lib_validators.py +0 -0
  644. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_multibyte_chs.py +0 -0
  645. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_multibyte_cht.py +0 -0
  646. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_multibyte_jpn.py +0 -0
  647. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_multibyte_kor.py +0 -0
  648. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_paragraphs.py +0 -0
  649. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfbase_encodings.py +0 -0
  650. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfbase_fontembed.py +0 -0
  651. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfbase_pdfdoc.py +0 -0
  652. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfbase_pdfform.py +0 -0
  653. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfbase_pdfmetrics.py +0 -0
  654. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfbase_pdfutils.py +0 -0
  655. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfbase_postscript.py +0 -0
  656. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfbase_ttfonts.py +0 -0
  657. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfgen_callback.py +0 -0
  658. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfgen_general.py +0 -0
  659. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfgen_links.py +0 -0
  660. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfgen_overprint.py +0 -0
  661. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pdfgen_pagemodes.py +0 -0
  662. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_accum.py +0 -0
  663. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_breaking.py +0 -0
  664. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_cjk_wrap.py +0 -0
  665. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_general.py +0 -0
  666. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_images.py +0 -0
  667. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_indents.py +0 -0
  668. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_index.py +0 -0
  669. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_leftright.py +0 -0
  670. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_lists.py +0 -0
  671. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_paragraphs.py +0 -0
  672. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_paraparser.py +0 -0
  673. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_pleaseturnover.py +0 -0
  674. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_preformatted.py +0 -0
  675. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_programming.py +0 -0
  676. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_tables.py +0 -0
  677. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_toc.py +0 -0
  678. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_wrapping.py +0 -0
  679. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_platypus_xref.py +0 -0
  680. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_pyfiles.py +0 -0
  681. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_renderPS.py +0 -0
  682. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_renderSVG.py +0 -0
  683. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_rl_accel.py +0 -0
  684. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_source_chars.py +0 -0
  685. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_table_inrowsplit.py +0 -0
  686. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_table_layout.py +0 -0
  687. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_tools_pythonpoint.py +0 -0
  688. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_utils.py +0 -0
  689. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_widgetbase_tpc.py +0 -0
  690. {reportlab-4.1.0 → reportlab-4.2.0}/tests/test_widgets_grids.py +0 -0
  691. {reportlab-4.1.0 → reportlab-4.2.0}/tests/unimportable.py +0 -0
  692. {reportlab-4.1.0 → reportlab-4.2.0}/tools/README +0 -0
  693. {reportlab-4.1.0 → reportlab-4.2.0}/tools/__init__.py +0 -0
  694. {reportlab-4.1.0 → reportlab-4.2.0}/tools/docco/README +0 -0
  695. {reportlab-4.1.0 → reportlab-4.2.0}/tools/docco/__init__.py +0 -0
  696. {reportlab-4.1.0 → reportlab-4.2.0}/tools/docco/codegrab.py +0 -0
  697. {reportlab-4.1.0 → reportlab-4.2.0}/tools/docco/docpy.py +0 -0
  698. {reportlab-4.1.0 → reportlab-4.2.0}/tools/docco/graphdocpy.py +0 -0
  699. {reportlab-4.1.0 → reportlab-4.2.0}/tools/docco/rl_doc_utils.py +0 -0
  700. {reportlab-4.1.0 → reportlab-4.2.0}/tools/docco/rltemplate.py +0 -0
  701. {reportlab-4.1.0 → reportlab-4.2.0}/tools/docco/stylesheet.py +0 -0
  702. {reportlab-4.1.0 → reportlab-4.2.0}/tools/docco/t_parse.py +0 -0
  703. {reportlab-4.1.0 → reportlab-4.2.0}/tools/docco/yaml.py +0 -0
  704. {reportlab-4.1.0 → reportlab-4.2.0}/tools/docco/yaml2pdf.py +0 -0
  705. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pdfpath.py +0 -0
  706. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/README +0 -0
  707. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/__init__.py +0 -0
  708. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/customshapes.py +0 -0
  709. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/examples.py +0 -0
  710. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/figures.xml +0 -0
  711. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/htu.xml +0 -0
  712. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/leftlogo.a85 +0 -0
  713. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/leftlogo.gif +0 -0
  714. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/lj8100.jpg +0 -0
  715. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/monterey.xml +0 -0
  716. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/outline.gif +0 -0
  717. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/pplogo.gif +0 -0
  718. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/python.gif +0 -0
  719. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/pythonpoint.xml +0 -0
  720. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/slidebox.py +0 -0
  721. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/spectrum.png +0 -0
  722. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/demos/vertpython.gif +0 -0
  723. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/pythonpoint.dtd +0 -0
  724. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/pythonpoint.py +0 -0
  725. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/stdparser.py +0 -0
  726. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/styles/__init__.py +0 -0
  727. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/styles/horrible.py +0 -0
  728. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/styles/htu.py +0 -0
  729. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/styles/modern.py +0 -0
  730. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/styles/projection.py +0 -0
  731. {reportlab-4.1.0 → reportlab-4.2.0}/tools/pythonpoint/styles/standard.py +0 -0
  732. {reportlab-4.1.0 → reportlab-4.2.0}/tools/utils/add_bleed.py +0 -0
  733. {reportlab-4.1.0 → reportlab-4.2.0}/tools/utils/dumpttf.py +0 -0
@@ -11,6 +11,11 @@ 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
14
19
 
15
20
  CHANGES 4.1.0 08/02/2024
16
21
  -------------------------
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: reportlab
3
- Version: 4.1.0
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,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.1.0"
4
+ Version = "4.2.0"
5
5
  __version__=Version
6
- __date__='20240208'
6
+ __date__='20240418'
7
7
 
8
8
  import sys, os
9
9
 
@@ -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
+
@@ -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)
@@ -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):
@@ -0,0 +1,29 @@
1
+ #####################################################################################
2
+ #
3
+ # Copyright (c) 2000-2018, ReportLab Inc.
4
+ # All rights reserved.
5
+ #
6
+ # Redistribution and use in source and binary forms, with or without modification,
7
+ # are permitted provided that the following conditions are met:
8
+ #
9
+ # * Redistributions of source code must retain the above copyright notice,
10
+ # this list of conditions and the following disclaimer.
11
+ # * Redistributions in binary form must reproduce the above copyright notice,
12
+ # this list of conditions and the following disclaimer in the documentation
13
+ # and/or other materials provided with the distribution.
14
+ # * Neither the name of the company nor the names of its contributors may be
15
+ # used to endorse or promote products derived from this software without
16
+ # specific prior written permission.
17
+ #
18
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21
+ # IN NO EVENT SHALL THE OFFICERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
23
+ # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24
+ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25
+ # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
26
+ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27
+ # SUCH DAMAGE.
28
+ #
29
+ #####################################################################################
@@ -2095,14 +2095,22 @@ class LIIndenter(DDIndenter):
2095
2095
  self.spaceAfter = spaceAfter
2096
2096
 
2097
2097
  def split(self, aW, aH):
2098
- 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 = []
2099
2107
  return [
2100
2108
  LIIndenter(s,
2101
2109
  leftIndent=self._leftIndent,
2102
2110
  rightIndent=self._rightIndent,
2103
2111
  bullet = (s is S[0] and self._bullet or None),
2104
2112
  ) for s in S
2105
- ]
2113
+ ] if S else []
2106
2114
 
2107
2115
  def drawOn(self, canv, x, y, _sW=0):
2108
2116
  if self._bullet:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: reportlab
3
- Version: 4.1.0
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
@@ -66,6 +66,7 @@ docs/userguide/graph_widgets.py
66
66
  docs/userguide/testfile.txt
67
67
  src/reportlab/MANIFEST.in
68
68
  src/reportlab/__init__.py
69
+ src/reportlab/license.txt
69
70
  src/reportlab/rl_config.py
70
71
  src/reportlab/rl_settings.py
71
72
  src/reportlab.egg-info/PKG-INFO
@@ -286,6 +287,10 @@ tests/test_extra.py
286
287
  tests/test_geomutils.py
287
288
  tests/test_graphics_barcode.py
288
289
  tests/test_graphics_charts.py
290
+ tests/test_graphics_images-cairo.gif
291
+ tests/test_graphics_images-cairo.png
292
+ tests/test_graphics_images-libart.gif
293
+ tests/test_graphics_images-libart.png
289
294
  tests/test_graphics_images.gif
290
295
  tests/test_graphics_images.png
291
296
  tests/test_graphics_images.py
@@ -379,6 +384,148 @@ tests/charts-out/test_graphics_charts_axes_sample0a.gif
379
384
  tests/charts-out/test_graphics_charts_axes_sample0a.py
380
385
  tests/charts-out/test_graphics_charts_axes_sample0b.gif
381
386
  tests/charts-out/test_graphics_charts_axes_sample0b.py
387
+ tests/charts-out/test_graphics_charts_axes_sample0c.gif
388
+ tests/charts-out/test_graphics_charts_axes_sample0c.py
389
+ tests/charts-out/test_graphics_charts_axes_sample1.gif
390
+ tests/charts-out/test_graphics_charts_axes_sample1.py
391
+ tests/charts-out/test_graphics_charts_axes_sample4a.gif
392
+ tests/charts-out/test_graphics_charts_axes_sample4a.py
393
+ tests/charts-out/test_graphics_charts_axes_sample4b.gif
394
+ tests/charts-out/test_graphics_charts_axes_sample4b.py
395
+ tests/charts-out/test_graphics_charts_axes_sample4c.gif
396
+ tests/charts-out/test_graphics_charts_axes_sample4c.py
397
+ tests/charts-out/test_graphics_charts_axes_sample4c1.gif
398
+ tests/charts-out/test_graphics_charts_axes_sample4c1.py
399
+ tests/charts-out/test_graphics_charts_axes_sample4d.gif
400
+ tests/charts-out/test_graphics_charts_axes_sample4d.py
401
+ tests/charts-out/test_graphics_charts_axes_sample5a.gif
402
+ tests/charts-out/test_graphics_charts_axes_sample5a.py
403
+ tests/charts-out/test_graphics_charts_axes_sample5b.gif
404
+ tests/charts-out/test_graphics_charts_axes_sample5b.py
405
+ tests/charts-out/test_graphics_charts_axes_sample5c.gif
406
+ tests/charts-out/test_graphics_charts_axes_sample5c.py
407
+ tests/charts-out/test_graphics_charts_axes_sample5d.gif
408
+ tests/charts-out/test_graphics_charts_axes_sample5d.py
409
+ tests/charts-out/test_graphics_charts_axes_sample6a.gif
410
+ tests/charts-out/test_graphics_charts_axes_sample6a.py
411
+ tests/charts-out/test_graphics_charts_axes_sample6b.gif
412
+ tests/charts-out/test_graphics_charts_axes_sample6b.py
413
+ tests/charts-out/test_graphics_charts_axes_sample6c.gif
414
+ tests/charts-out/test_graphics_charts_axes_sample6c.py
415
+ tests/charts-out/test_graphics_charts_axes_sample6d.gif
416
+ tests/charts-out/test_graphics_charts_axes_sample6d.py
417
+ tests/charts-out/test_graphics_charts_axes_sample7a.gif
418
+ tests/charts-out/test_graphics_charts_axes_sample7a.py
419
+ tests/charts-out/test_graphics_charts_axes_sample7b.gif
420
+ tests/charts-out/test_graphics_charts_axes_sample7b.py
421
+ tests/charts-out/test_graphics_charts_axes_sample7c.gif
422
+ tests/charts-out/test_graphics_charts_axes_sample7c.py
423
+ tests/charts-out/test_graphics_charts_axes_sample7d.gif
424
+ tests/charts-out/test_graphics_charts_axes_sample7d.py
425
+ tests/charts-out/test_graphics_charts_axes_sample8a.gif
426
+ tests/charts-out/test_graphics_charts_axes_sample8a.py
427
+ tests/charts-out/test_graphics_charts_axes_sample8b.gif
428
+ tests/charts-out/test_graphics_charts_axes_sample8b.py
429
+ tests/charts-out/test_graphics_charts_axes_sample9a.gif
430
+ tests/charts-out/test_graphics_charts_axes_sample9a.py
431
+ tests/charts-out/test_graphics_charts_axes_sample9b.gif
432
+ tests/charts-out/test_graphics_charts_axes_sample9b.py
433
+ tests/charts-out/test_graphics_charts_axes_sample9c.gif
434
+ tests/charts-out/test_graphics_charts_axes_sample9c.py
435
+ tests/charts-out/test_graphics_charts_axes_sample_hatching.gif
436
+ tests/charts-out/test_graphics_charts_axes_sample_hatching.py
437
+ tests/charts-out/test_graphics_charts_barcharts_SampleH5c4.gif
438
+ tests/charts-out/test_graphics_charts_barcharts_SampleH5c4.py
439
+ tests/charts-out/test_graphics_charts_barcharts_sampleH0a.gif
440
+ tests/charts-out/test_graphics_charts_barcharts_sampleH0a.py
441
+ tests/charts-out/test_graphics_charts_barcharts_sampleH0b.gif
442
+ tests/charts-out/test_graphics_charts_barcharts_sampleH0b.py
443
+ tests/charts-out/test_graphics_charts_barcharts_sampleH0c.gif
444
+ tests/charts-out/test_graphics_charts_barcharts_sampleH0c.py
445
+ tests/charts-out/test_graphics_charts_barcharts_sampleH1.gif
446
+ tests/charts-out/test_graphics_charts_barcharts_sampleH1.py
447
+ tests/charts-out/test_graphics_charts_barcharts_sampleH2a.gif
448
+ tests/charts-out/test_graphics_charts_barcharts_sampleH2a.py
449
+ tests/charts-out/test_graphics_charts_barcharts_sampleH2b.gif
450
+ tests/charts-out/test_graphics_charts_barcharts_sampleH2b.py
451
+ tests/charts-out/test_graphics_charts_barcharts_sampleH2c.gif
452
+ tests/charts-out/test_graphics_charts_barcharts_sampleH2c.py
453
+ tests/charts-out/test_graphics_charts_barcharts_sampleH3.gif
454
+ tests/charts-out/test_graphics_charts_barcharts_sampleH3.py
455
+ tests/charts-out/test_graphics_charts_barcharts_sampleH4a.gif
456
+ tests/charts-out/test_graphics_charts_barcharts_sampleH4a.py
457
+ tests/charts-out/test_graphics_charts_barcharts_sampleH4b.gif
458
+ tests/charts-out/test_graphics_charts_barcharts_sampleH4b.py
459
+ tests/charts-out/test_graphics_charts_barcharts_sampleH4c.gif
460
+ tests/charts-out/test_graphics_charts_barcharts_sampleH4c.py
461
+ tests/charts-out/test_graphics_charts_barcharts_sampleH4d.gif
462
+ tests/charts-out/test_graphics_charts_barcharts_sampleH4d.py
463
+ tests/charts-out/test_graphics_charts_barcharts_sampleH5a.gif
464
+ tests/charts-out/test_graphics_charts_barcharts_sampleH5a.py
465
+ tests/charts-out/test_graphics_charts_barcharts_sampleH5b.gif
466
+ tests/charts-out/test_graphics_charts_barcharts_sampleH5b.py
467
+ tests/charts-out/test_graphics_charts_barcharts_sampleH5c1.gif
468
+ tests/charts-out/test_graphics_charts_barcharts_sampleH5c1.py
469
+ tests/charts-out/test_graphics_charts_barcharts_sampleH5c2.gif
470
+ tests/charts-out/test_graphics_charts_barcharts_sampleH5c2.py
471
+ tests/charts-out/test_graphics_charts_barcharts_sampleH5c3.gif
472
+ tests/charts-out/test_graphics_charts_barcharts_sampleH5c3.py
473
+ tests/charts-out/test_graphics_charts_barcharts_sampleH5c4.gif
474
+ tests/charts-out/test_graphics_charts_barcharts_sampleH5c4.py
475
+ tests/charts-out/test_graphics_charts_barcharts_sampleStacked1.gif
476
+ tests/charts-out/test_graphics_charts_barcharts_sampleStacked1.py
477
+ tests/charts-out/test_graphics_charts_barcharts_sampleSymbol1.gif
478
+ tests/charts-out/test_graphics_charts_barcharts_sampleSymbol1.py
479
+ tests/charts-out/test_graphics_charts_barcharts_sampleV0a.gif
480
+ tests/charts-out/test_graphics_charts_barcharts_sampleV0a.py
481
+ tests/charts-out/test_graphics_charts_barcharts_sampleV0b.gif
482
+ tests/charts-out/test_graphics_charts_barcharts_sampleV0b.py
483
+ tests/charts-out/test_graphics_charts_barcharts_sampleV0c.gif
484
+ tests/charts-out/test_graphics_charts_barcharts_sampleV0c.py
485
+ tests/charts-out/test_graphics_charts_barcharts_sampleV1.gif
486
+ tests/charts-out/test_graphics_charts_barcharts_sampleV1.py
487
+ tests/charts-out/test_graphics_charts_barcharts_sampleV2a.gif
488
+ tests/charts-out/test_graphics_charts_barcharts_sampleV2a.py
489
+ tests/charts-out/test_graphics_charts_barcharts_sampleV2b.gif
490
+ tests/charts-out/test_graphics_charts_barcharts_sampleV2b.py
491
+ tests/charts-out/test_graphics_charts_barcharts_sampleV2c.gif
492
+ tests/charts-out/test_graphics_charts_barcharts_sampleV2c.py
493
+ tests/charts-out/test_graphics_charts_barcharts_sampleV3.gif
494
+ tests/charts-out/test_graphics_charts_barcharts_sampleV3.py
495
+ tests/charts-out/test_graphics_charts_barcharts_sampleV4a.gif
496
+ tests/charts-out/test_graphics_charts_barcharts_sampleV4a.py
497
+ tests/charts-out/test_graphics_charts_barcharts_sampleV4b.gif
498
+ tests/charts-out/test_graphics_charts_barcharts_sampleV4b.py
499
+ tests/charts-out/test_graphics_charts_barcharts_sampleV4c.gif
500
+ tests/charts-out/test_graphics_charts_barcharts_sampleV4c.py
501
+ tests/charts-out/test_graphics_charts_barcharts_sampleV4d.gif
502
+ tests/charts-out/test_graphics_charts_barcharts_sampleV4d.py
503
+ tests/charts-out/test_graphics_charts_barcharts_sampleV5a.gif
504
+ tests/charts-out/test_graphics_charts_barcharts_sampleV5a.py
505
+ tests/charts-out/test_graphics_charts_barcharts_sampleV5b.gif
506
+ tests/charts-out/test_graphics_charts_barcharts_sampleV5b.py
507
+ tests/charts-out/test_graphics_charts_barcharts_sampleV5c1.gif
508
+ tests/charts-out/test_graphics_charts_barcharts_sampleV5c1.py
509
+ tests/charts-out/test_graphics_charts_barcharts_sampleV5c2.gif
510
+ tests/charts-out/test_graphics_charts_barcharts_sampleV5c2.py
511
+ tests/charts-out/test_graphics_charts_barcharts_sampleV5c3.gif
512
+ tests/charts-out/test_graphics_charts_barcharts_sampleV5c3.py
513
+ tests/charts-out/test_graphics_charts_barcharts_sampleV5c4.gif
514
+ tests/charts-out/test_graphics_charts_barcharts_sampleV5c4.py
515
+ tests/charts-out/test_graphics_charts_ddf_sampleDoughnutDDFLabels.gif
516
+ tests/charts-out/test_graphics_charts_ddf_sampleDoughnutDDFLabels.py
517
+ tests/charts-out/test_graphics_charts_ddf_samplePieDDFLabels.gif
518
+ tests/charts-out/test_graphics_charts_ddf_samplePieDDFLabels.py
519
+ tests/charts-out/test_graphics_charts_ddf_sampleSpiderDDFLabels.gif
520
+ tests/charts-out/test_graphics_charts_ddf_sampleSpiderDDFLabels.py
521
+ tests/charts-out/test_graphics_charts_doughnut_sample1.gif
522
+ tests/charts-out/test_graphics_charts_doughnut_sample1.py
523
+ tests/charts-out/test_graphics_charts_doughnut_sample2.gif
524
+ tests/charts-out/test_graphics_charts_doughnut_sample2.py
525
+ tests/charts-out/test_graphics_charts_doughnut_sample3.gif
526
+ tests/charts-out/test_graphics_charts_doughnut_sample3.py
527
+ tests/charts-out/test_graphics_charts_doughnut_sample4.gif
528
+ tests/charts-out/test_graphics_charts_doughnut_sample4.py
382
529
  tests/charts-out/test_graphics_charts_legends_sample1c.gif
383
530
  tests/charts-out/test_graphics_charts_legends_sample1c.py
384
531
  tests/charts-out/test_graphics_charts_legends_sample2c.gif
@@ -389,6 +536,48 @@ tests/charts-out/test_graphics_charts_legends_sample3a.gif
389
536
  tests/charts-out/test_graphics_charts_legends_sample3a.py
390
537
  tests/charts-out/test_graphics_charts_legends_sample4a.gif
391
538
  tests/charts-out/test_graphics_charts_legends_sample4a.py
539
+ tests/charts-out/test_graphics_charts_linecharts_sample1.gif
540
+ tests/charts-out/test_graphics_charts_linecharts_sample1.py
541
+ tests/charts-out/test_graphics_charts_linecharts_sample1a.gif
542
+ tests/charts-out/test_graphics_charts_linecharts_sample1a.py
543
+ tests/charts-out/test_graphics_charts_linecharts_sample2.gif
544
+ tests/charts-out/test_graphics_charts_linecharts_sample2.py
545
+ tests/charts-out/test_graphics_charts_linecharts_sample3.gif
546
+ tests/charts-out/test_graphics_charts_linecharts_sample3.py
547
+ tests/charts-out/test_graphics_charts_linecharts_sampleCandleStick.gif
548
+ tests/charts-out/test_graphics_charts_linecharts_sampleCandleStick.py
549
+ tests/charts-out/test_graphics_charts_lineplots_sample1a.gif
550
+ tests/charts-out/test_graphics_charts_lineplots_sample1a.py
551
+ tests/charts-out/test_graphics_charts_lineplots_sample1b.gif
552
+ tests/charts-out/test_graphics_charts_lineplots_sample1b.py
553
+ tests/charts-out/test_graphics_charts_lineplots_sample1c.gif
554
+ tests/charts-out/test_graphics_charts_lineplots_sample1c.py
555
+ tests/charts-out/test_graphics_charts_lineplots_sample2.gif
556
+ tests/charts-out/test_graphics_charts_lineplots_sample2.py
557
+ tests/charts-out/test_graphics_charts_lineplots_sampleFillPairedData.gif
558
+ tests/charts-out/test_graphics_charts_lineplots_sampleFillPairedData.py
559
+ tests/charts-out/test_graphics_charts_piecharts_sample0a.gif
560
+ tests/charts-out/test_graphics_charts_piecharts_sample0a.py
561
+ tests/charts-out/test_graphics_charts_piecharts_sample0b.gif
562
+ tests/charts-out/test_graphics_charts_piecharts_sample0b.py
563
+ tests/charts-out/test_graphics_charts_piecharts_sample1.gif
564
+ tests/charts-out/test_graphics_charts_piecharts_sample1.py
565
+ tests/charts-out/test_graphics_charts_piecharts_sample2.gif
566
+ tests/charts-out/test_graphics_charts_piecharts_sample2.py
567
+ tests/charts-out/test_graphics_charts_piecharts_sample3.gif
568
+ tests/charts-out/test_graphics_charts_piecharts_sample3.py
569
+ tests/charts-out/test_graphics_charts_piecharts_sample4.gif
570
+ tests/charts-out/test_graphics_charts_piecharts_sample4.py
571
+ tests/charts-out/test_graphics_charts_piecharts_sample5.gif
572
+ tests/charts-out/test_graphics_charts_piecharts_sample5.py
573
+ tests/charts-out/test_graphics_charts_piecharts_sample6.gif
574
+ tests/charts-out/test_graphics_charts_piecharts_sample6.py
575
+ tests/charts-out/test_graphics_charts_piecharts_sample7.gif
576
+ tests/charts-out/test_graphics_charts_piecharts_sample7.py
577
+ tests/charts-out/test_graphics_charts_piecharts_sample8.gif
578
+ tests/charts-out/test_graphics_charts_piecharts_sample8.py
579
+ tests/charts-out/test_graphics_charts_piecharts_sample9.gif
580
+ tests/charts-out/test_graphics_charts_piecharts_sample9.py
392
581
  tests/charts-out/test_graphics_charts_special_bcleg.gif
393
582
  tests/charts-out/test_graphics_charts_special_bcleg.py
394
583
  tests/charts-out/test_graphics_charts_special_hlcleg.gif
@@ -415,6 +604,12 @@ tests/charts-out/test_graphics_charts_special_sample4pie.gif
415
604
  tests/charts-out/test_graphics_charts_special_sample4pie.py
416
605
  tests/charts-out/test_graphics_charts_special_scleg.gif
417
606
  tests/charts-out/test_graphics_charts_special_scleg.py
607
+ tests/charts-out/test_graphics_charts_spider_sample1.gif
608
+ tests/charts-out/test_graphics_charts_spider_sample1.py
609
+ tests/charts-out/test_graphics_charts_spider_sample2.gif
610
+ tests/charts-out/test_graphics_charts_spider_sample2.py
611
+ tests/charts-out/test_graphics_images_alpha_test.png
612
+ tests/charts-out/test_graphics_images_alpha_test8.png
418
613
  tests/render-out/410.png
419
614
  tests/render-out/410.py
420
615
  tests/render-out/Drawing01.gif
@@ -0,0 +1,57 @@
1
+ #Autogenerated by ReportLab guiedit do not edit
2
+ from reportlab.graphics.shapes import _DrawingEditorMixin, Drawing, Group, Line
3
+ from reportlab.lib.colors import Color, CMYKColor, PCMYKColor
4
+ from rlextra.graphics.canvasadapter import DirectDrawFlowable
5
+
6
+ class ExplodedDrawing_Drawing(_DrawingEditorMixin,Drawing):
7
+ def __init__(self,width=400,height=200,*args,**kw):
8
+ Drawing.__init__(self,width,height,*args,**kw)
9
+ self.transform = (1,0,0,1,0,0)
10
+ self.add(Line(75,75,175,75,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=0,strokeDashArray=None,strokeOpacity=None))
11
+ self.add(Line(75,75,75,70,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=10,strokeDashArray=None,strokeOpacity=None))
12
+ self.add(Line(125,75,125,70,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=10,strokeDashArray=None,strokeOpacity=None))
13
+ self.add(Line(175,75,175,70,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=10,strokeDashArray=None,strokeOpacity=None))
14
+ v0=self._nn(Group())
15
+ v0.transform = (1,0,0,1,100,70)
16
+ v1=v0._nn(Group())
17
+ v1.transform = (1,0,0,1,-24.012,-48)
18
+ v1.add(DirectDrawFlowable(Paragraph(
19
+ 'caseSensitive': 1
20
+ 'encoding': 'utf8'
21
+ 'text': 'Ying and Mao\xadTse\xadTung are bonkers'
22
+ 'frags': [ParaFrag(__tag__='para', bold=0, fontName='Helvetica', fontSize=12, greek=0, italic=0, link=[], rise=0, text='Ying and Mao\xadTse\xadTung are bonkers', textColor=Color(1,0,0,1), us_lines=[])]
23
+ 'style': <DDFStyle 'xlabel-generated'>
24
+ 'bulletText': None
25
+ 'debug': 0
26
+ 'width': 48
27
+ '_wrapWidths': [48, 48]
28
+ '_width_max': 48.024
29
+ 'height': 48
30
+ '_splitLongWordCount': 0
31
+ '_hyphenations': 1
32
+ 'blPara': ParaFrag(__tag__='para', ascent=8.616, bold=0, descent=-2.484, fontName='Helvetica', fontSize=12, greek=0, italic=0, kind=0, lines=[(0.6360000000000028, ['Ying', 'and']), (0.6599999999999966, ['MaoTse-']), (-0.02400000000000091, ['Tung', 'are']), (5.3160000000000025, ['bonkers'])], link=[], rise=0, text='Ying and Mao\xadTse\xadTung are bonkers', textColor=Color(1,0,0,1), us_lines=[])
33
+ ) #Paragraph))
34
+ v0=self._nn(Group())
35
+ v0.transform = (1,0,0,1,150,70)
36
+ v1=v0._nn(Group())
37
+ v1.transform = (1,0,0,1,-20.01,-48)
38
+ v1.add(DirectDrawFlowable(Paragraph(
39
+ 'caseSensitive': 1
40
+ 'encoding': 'utf8'
41
+ 'text': 'Yang is not a comm\xadun\xadist'
42
+ 'frags': [ParaFrag(__tag__='para', bold=0, fontName='Helvetica', fontSize=12, greek=0, italic=0, link=[], rise=0, text='Yang is not a comm\xadun\xadist', textColor=Color(1,0,0,1), us_lines=[])]
43
+ 'style': <DDFStyle 'xlabel-generated'>
44
+ 'bulletText': None
45
+ 'debug': 0
46
+ 'width': 48
47
+ '_wrapWidths': [48, 48]
48
+ '_width_max': 40.02
49
+ 'height': 48
50
+ '_splitLongWordCount': 0
51
+ '_hyphenations': 1
52
+ 'blPara': ParaFrag(__tag__='para', ascent=8.616, bold=0, descent=-2.484, fontName='Helvetica', fontSize=12, greek=0, italic=0, kind=0, lines=[(7.979999999999997, ['Yang', 'is']), (21.312, ['not', 'a']), (11.339999999999996, ['comm-']), (22.656, ['unist'])], link=[], rise=0, text='Yang is not a comm\xadun\xadist', textColor=Color(1,0,0,1), us_lines=[])
53
+ ) #Paragraph))
54
+
55
+
56
+ if __name__=="__main__": #NORUNTESTS
57
+ ExplodedDrawing_Drawing().save(formats=['pdf'],outDir='.',fnRoot=None)
@@ -0,0 +1,47 @@
1
+ #Autogenerated by ReportLab guiedit do not edit
2
+ from reportlab.graphics.shapes import _DrawingEditorMixin, Drawing, Group, Line, String
3
+ from reportlab.lib.colors import Color, CMYKColor, PCMYKColor
4
+
5
+ class ExplodedDrawing_Drawing(_DrawingEditorMixin,Drawing):
6
+ def __init__(self,width=400,height=200,*args,**kw):
7
+ Drawing.__init__(self,width,height,*args,**kw)
8
+ self.transform = (1,0,0,1,0,0)
9
+ self.add(Line(75,75,375,75,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=0,strokeDashArray=None,strokeOpacity=None))
10
+ self.add(Line(75,75,75,70,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=10,strokeDashArray=None,strokeOpacity=None))
11
+ self.add(Line(150,75,150,70,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=10,strokeDashArray=None,strokeOpacity=None))
12
+ self.add(Line(225,75,225,70,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=10,strokeDashArray=None,strokeOpacity=None))
13
+ self.add(Line(300,75,300,70,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=10,strokeDashArray=None,strokeOpacity=None))
14
+ self.add(Line(375,75,375,70,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=10,strokeDashArray=None,strokeOpacity=None))
15
+ v0=self._nn(Group())
16
+ v0.transform = (1,0,0,1,112.5,70)
17
+ v0.add(String(-9.44,-10,'Beer',textAnchor='start',fontName='Times-Roman',fontSize=10,fillColor=Color(0,0,0,1)))
18
+ v0=self._nn(Group())
19
+ v0.transform = (1,0,0,1,187.5,70)
20
+ v0.add(String(-10.83,-10,'Wine',textAnchor='start',fontName='Times-Roman',fontSize=10,fillColor=Color(0,0,0,1)))
21
+ v0=self._nn(Group())
22
+ v0.transform = (1,0,0,1,262.5,70)
23
+ v0.add(String(-10.275,-10,'Meat',textAnchor='start',fontName='Times-Roman',fontSize=10,fillColor=Color(0,0,0,1)))
24
+ v0=self._nn(Group())
25
+ v0.transform = (.866025,.5,-0.5,.866025,337.5,60)
26
+ v0.add(String(-23.34,-10,'Cannelloni',textAnchor='start',fontName='Times-Bold',fontSize=10,fillColor=Color(0,0,0,1)))
27
+ self.add(Line(50,50,50,175,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=0,strokeDashArray=None,strokeOpacity=None))
28
+ self.add(Line(50,50,45,50,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=10,strokeDashArray=None,strokeOpacity=None))
29
+ self.add(Line(50,89.0625,45,89.0625,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=10,strokeDashArray=None,strokeOpacity=None))
30
+ self.add(Line(50,128.125,45,128.125,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=10,strokeDashArray=None,strokeOpacity=None))
31
+ self.add(Line(50,167.1875,45,167.1875,strokeColor=Color(0,0,0,1),strokeWidth=1,strokeLineCap=0,strokeLineJoin=0,strokeMiterLimit=10,strokeDashArray=None,strokeOpacity=None))
32
+ v0=self._nn(Group())
33
+ v0.transform = (1,0,0,1,45,50)
34
+ v0.add(String(-10,-4,'10',textAnchor='start',fontName='Times-Roman',fontSize=10,fillColor=Color(0,0,0,1)))
35
+ v0=self._nn(Group())
36
+ v0.transform = (1,0,0,1,45,89.0625)
37
+ v0.add(String(-10,-4,'20',textAnchor='start',fontName='Times-Roman',fontSize=10,fillColor=Color(0,0,0,1)))
38
+ v0=self._nn(Group())
39
+ v0.transform = (1,0,0,1,45,128.125)
40
+ v0.add(String(-10,-4,'30',textAnchor='start',fontName='Times-Roman',fontSize=10,fillColor=Color(0,0,0,1)))
41
+ v0=self._nn(Group())
42
+ v0.transform = (1,0,0,1,45,167.1875)
43
+ v0.add(String(-10,-4,'40',textAnchor='start',fontName='Times-Roman',fontSize=10,fillColor=Color(0,0,0,1)))
44
+
45
+
46
+ if __name__=="__main__": #NORUNTESTS
47
+ ExplodedDrawing_Drawing().save(formats=['pdf'],outDir='.',fnRoot=None)