pyropdf 0.2.2__tar.gz → 0.3.1__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 (356) hide show
  1. {pyropdf-0.2.2 → pyropdf-0.3.1}/Cargo.lock +11 -11
  2. {pyropdf-0.2.2 → pyropdf-0.3.1}/Cargo.toml +1 -1
  3. {pyropdf-0.2.2 → pyropdf-0.3.1}/PKG-INFO +9 -6
  4. {pyropdf-0.2.2 → pyropdf-0.3.1}/README.md +8 -5
  5. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/Cargo.toml +15 -0
  6. pyropdf-0.3.1/crates/pyropdf-engine/src/annotations/edit.rs +1111 -0
  7. pyropdf-0.3.1/crates/pyropdf-engine/src/annotations/geometry.rs +412 -0
  8. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/annotations/icons.rs +12 -0
  9. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/annotations/missing.rs +33 -16
  10. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/annotations/mod.rs +323 -71
  11. pyropdf-0.3.1/crates/pyropdf-engine/src/annotations/popup.rs +285 -0
  12. pyropdf-0.3.1/crates/pyropdf-engine/src/annotations/read.rs +893 -0
  13. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/annotations/shapes.rs +21 -5
  14. pyropdf-0.3.1/crates/pyropdf-engine/src/annotations/tests.rs +1308 -0
  15. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/annotations/text.rs +8 -3
  16. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/bridge/mod.rs +79 -29
  17. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/bridge/tests.rs +131 -7
  18. pyropdf-0.3.1/crates/pyropdf-engine/src/changes.rs +1235 -0
  19. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/content/shading.rs +194 -18
  20. pyropdf-0.3.1/crates/pyropdf-engine/src/display.rs +202 -0
  21. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/glyphs.rs +3 -2
  22. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/images.rs +8 -6
  23. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/mod.rs +11 -15
  24. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/model.rs +319 -38
  25. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/provenance.rs +3 -3
  26. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/reads.rs +4 -0
  27. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/text/tables.rs +134 -3
  28. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/text.rs +107 -15
  29. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/cff.rs +144 -28
  30. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/colr/tests.rs +34 -0
  31. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/colr.rs +47 -17
  32. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/compact/tests.rs +74 -12
  33. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/compact.rs +107 -31
  34. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/embed.rs +20 -0
  35. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/instance.rs +69 -3
  36. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/mod.rs +7 -1
  37. pyropdf-0.3.1/crates/pyropdf-engine/src/fonts/settle/tests.rs +114 -0
  38. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/settle.rs +86 -7
  39. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/sfnt.rs +124 -3
  40. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/shape.rs +4 -0
  41. pyropdf-0.3.1/crates/pyropdf-engine/src/fonts/testdata/colour-colr-unclipped.ttf +0 -0
  42. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour_faces.py +12 -4
  43. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/tests.rs +116 -0
  44. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/type3.rs +184 -13
  45. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/appearance.rs +401 -0
  46. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/forms/defaults.rs +118 -40
  47. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/field_edit/acroform.rs +243 -0
  48. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/field_edit/details.rs +56 -0
  49. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/field_edit/edit.rs +197 -0
  50. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/field_edit/insert.rs +205 -0
  51. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/field_edit/spec.rs +340 -0
  52. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/field_edit.rs +16 -0
  53. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/fill.rs +586 -0
  54. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/fill_index/appearance_tests.rs +791 -0
  55. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/fill_index.rs +799 -0
  56. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/forms/flatten.rs +153 -85
  57. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/form_font.rs +265 -0
  58. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/import.rs +613 -0
  59. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/mod.rs +112 -0
  60. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/radio.rs +338 -0
  61. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/read.rs +307 -0
  62. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/remove.rs +420 -0
  63. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/settle.rs +287 -0
  64. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/style.rs +576 -0
  65. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/forms/tests.rs +144 -13
  66. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/forms/text.rs +4 -0
  67. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/traversal.rs +617 -0
  68. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/tree_edit.rs +183 -0
  69. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/values.rs +303 -0
  70. pyropdf-0.3.1/crates/pyropdf-engine/src/forms/widget_edit.rs +513 -0
  71. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/lib.rs +13 -0
  72. pyropdf-0.2.2/crates/pyropdf-python/src/annotations/links.rs → pyropdf-0.3.1/crates/pyropdf-engine/src/navigation/destinations.rs +136 -480
  73. pyropdf-0.3.1/crates/pyropdf-engine/src/navigation/links.rs +613 -0
  74. pyropdf-0.3.1/crates/pyropdf-engine/src/navigation/mod.rs +152 -0
  75. pyropdf-0.3.1/crates/pyropdf-engine/src/navigation/outline/count_cache.rs +88 -0
  76. pyropdf-0.3.1/crates/pyropdf-engine/src/navigation/outline.rs +1899 -0
  77. pyropdf-0.3.1/crates/pyropdf-engine/src/navigation/tests.rs +370 -0
  78. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/ocr/layer.rs +86 -29
  79. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/ocr/mod.rs +55 -7
  80. pyropdf-0.3.1/crates/pyropdf-engine/src/pages/canvas.rs +410 -0
  81. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/pages/copy.rs +117 -143
  82. pyropdf-0.3.1/crates/pyropdf-engine/src/pages/geometry.rs +200 -0
  83. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/pages/import/graft.rs +70 -105
  84. pyropdf-0.3.1/crates/pyropdf-engine/src/pages/import/selection.rs +486 -0
  85. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/pages/import.rs +16 -8
  86. pyropdf-0.3.1/crates/pyropdf-engine/src/pages/mod.rs +158 -0
  87. pyropdf-0.3.1/crates/pyropdf-engine/src/pages/tree/tests.rs +155 -0
  88. pyropdf-0.3.1/crates/pyropdf-engine/src/pages/tree.rs +475 -0
  89. pyropdf-0.3.1/crates/pyropdf-engine/src/pages/unrotate.rs +1147 -0
  90. {pyropdf-0.2.2/crates/pyropdf-python/src → pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap}/codecs.rs +125 -69
  91. pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap/encode.rs +393 -0
  92. {pyropdf-0.2.2/crates/pyropdf-python/src → pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap}/fax.rs +29 -19
  93. {pyropdf-0.2.2/crates/pyropdf-python/src → pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap}/images.rs +134 -202
  94. pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap/mod.rs +95 -0
  95. pyropdf-0.2.2/crates/pyropdf-python/src/pixel_ops.rs → pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap/ops.rs +98 -57
  96. pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap/tests.rs +252 -0
  97. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/render/batch.rs +30 -7
  98. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/render/mod.rs +121 -68
  99. pyropdf-0.3.1/crates/pyropdf-engine/src/render/svg.rs +170 -0
  100. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/render/tests.rs +105 -50
  101. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/sign/key.rs +4 -0
  102. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/sign/mod.rs +8 -0
  103. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/sign/pkcs12.rs +47 -1
  104. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/sign/verify.rs +30 -1
  105. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/layout.rs +12 -0
  106. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/scan.rs +16 -2
  107. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/Cargo.toml +0 -13
  108. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/annotations/input.rs +191 -0
  109. pyropdf-0.3.1/crates/pyropdf-python/src/annotations/links.rs +156 -0
  110. pyropdf-0.3.1/crates/pyropdf-python/src/annotations.rs +490 -0
  111. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/buffers.rs +255 -134
  112. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/cancel.rs +17 -13
  113. pyropdf-0.3.1/crates/pyropdf-python/src/changes.rs +47 -0
  114. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/check.rs +38 -29
  115. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/content.rs +43 -23
  116. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/document.rs +250 -197
  117. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/errors.rs +40 -5
  118. pyropdf-0.3.1/crates/pyropdf-python/src/fax.rs +25 -0
  119. pyropdf-0.3.1/crates/pyropdf-python/src/fonts.rs +1356 -0
  120. pyropdf-0.3.1/crates/pyropdf-python/src/forms.rs +659 -0
  121. pyropdf-0.3.1/crates/pyropdf-python/src/history/testing.rs +112 -0
  122. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/history.rs +264 -177
  123. pyropdf-0.3.1/crates/pyropdf-python/src/images.rs +170 -0
  124. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/items.rs +58 -42
  125. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/lib.rs +21 -8
  126. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/objects.rs +261 -175
  127. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/ocr.rs +140 -112
  128. pyropdf-0.3.1/crates/pyropdf-python/src/outline.rs +156 -0
  129. pyropdf-0.3.1/crates/pyropdf-python/src/pages.rs +728 -0
  130. pyropdf-0.3.1/crates/pyropdf-python/src/pixmap.rs +1382 -0
  131. pyropdf-0.3.1/crates/pyropdf-python/src/render.rs +44 -0
  132. pyropdf-0.3.1/crates/pyropdf-python/src/schema.rs +61 -0
  133. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/security.rs +33 -29
  134. pyropdf-0.3.1/crates/pyropdf-python/src/shadings.rs +176 -0
  135. pyropdf-0.3.1/crates/pyropdf-python/src/sign.rs +389 -0
  136. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/text.rs +169 -151
  137. pyropdf-0.3.1/crates/pyropdf-python/src/tree.rs +160 -0
  138. pyropdf-0.3.1/crates/pyropdf-python/src/unrotate.rs +45 -0
  139. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/windows_permissions.rs +8 -2
  140. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/src/check/expr.rs +20 -0
  141. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/src/check/mod.rs +96 -7
  142. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/src/lib.rs +7 -0
  143. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/code.rs +131 -9
  144. pyropdf-0.3.1/crates/pyropdf-store/src/budget/hash.rs +145 -0
  145. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/mod.rs +2 -0
  146. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/tests.rs +125 -0
  147. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/vec.rs +42 -14
  148. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/lib.rs +1 -0
  149. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/pages/mod.rs +76 -5
  150. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/pages/tests.rs +17 -0
  151. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/copy.rs +7 -2
  152. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/forms.rs +11 -14
  153. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/mod.rs +22 -3
  154. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/rules.rs +24 -1
  155. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/tests.rs +258 -0
  156. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/settle/tests.rs +16 -15
  157. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/settle.rs +18 -13
  158. pyropdf-0.3.1/crates/pyropdf-store/src/tree/mod.rs +226 -0
  159. pyropdf-0.3.1/crates/pyropdf-store/src/tree/name.rs +1084 -0
  160. pyropdf-0.3.1/crates/pyropdf-store/src/tree/number.rs +231 -0
  161. pyropdf-0.3.1/crates/pyropdf-store/src/tree/parent.rs +892 -0
  162. pyropdf-0.3.1/crates/pyropdf-store/src/tree/tests.rs +409 -0
  163. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/value/copy.rs +25 -9
  164. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/value/mod.rs +1 -1
  165. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/journal.rs +30 -6
  166. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/tests.rs +136 -0
  167. {pyropdf-0.2.2 → pyropdf-0.3.1}/pyproject.toml +1 -1
  168. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/__init__.py +38 -9
  169. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_annotations.py +17 -13
  170. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_attachments.py +39 -55
  171. pyropdf-0.3.1/python/pyropdf/_canvas/__init__.py +24 -0
  172. pyropdf-0.3.1/python/pyropdf/_canvas/_canvas.py +1458 -0
  173. pyropdf-0.3.1/python/pyropdf/_canvas/_path.py +604 -0
  174. pyropdf-0.3.1/python/pyropdf/_canvas/_resources.py +185 -0
  175. pyropdf-0.3.1/python/pyropdf/_canvas/_tags.py +282 -0
  176. pyropdf-0.3.1/python/pyropdf/_canvas/_text.py +325 -0
  177. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_check.py +4 -2
  178. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_chunks.py +8 -2
  179. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_content.py +154 -52
  180. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_core.pyi +54 -9
  181. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_document.py +38 -19
  182. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_encryption.py +2 -2
  183. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_errors.py +3 -0
  184. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_fonts.py +24 -17
  185. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_form.py +7 -5
  186. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_geometry.py +6 -6
  187. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_history.py +1 -1
  188. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_images.py +23 -27
  189. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_layers.py +3 -2
  190. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_limit_codes.py +67 -6
  191. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_limits.py +61 -11
  192. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_objects.py +2 -3
  193. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_page.py +74 -12
  194. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_page_labels.py +10 -9
  195. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_profiles.py +5 -1
  196. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_recolor.py +29 -119
  197. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_sanitize.py +3 -2
  198. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_signing.py +13 -4
  199. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_tables.py +14 -15
  200. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_text.py +45 -25
  201. pyropdf-0.3.1/python/pyropdf/_xobjects.py +159 -0
  202. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/typed.py +10 -4
  203. pyropdf-0.2.2/crates/pyropdf-engine/src/annotations/tests.rs +0 -463
  204. pyropdf-0.2.2/crates/pyropdf-engine/src/forms/mod.rs +0 -1420
  205. pyropdf-0.2.2/crates/pyropdf-engine/src/pages/mod.rs +0 -5
  206. pyropdf-0.2.2/crates/pyropdf-engine/src/render/svg.rs +0 -96
  207. pyropdf-0.2.2/crates/pyropdf-python/src/annotations.rs +0 -2644
  208. pyropdf-0.2.2/crates/pyropdf-python/src/changes.rs +0 -575
  209. pyropdf-0.2.2/crates/pyropdf-python/src/fonts.rs +0 -1288
  210. pyropdf-0.2.2/crates/pyropdf-python/src/forms.rs +0 -6675
  211. pyropdf-0.2.2/crates/pyropdf-python/src/outline.rs +0 -1334
  212. pyropdf-0.2.2/crates/pyropdf-python/src/pages.rs +0 -1827
  213. pyropdf-0.2.2/crates/pyropdf-python/src/pixmap.rs +0 -1483
  214. pyropdf-0.2.2/crates/pyropdf-python/src/render.rs +0 -49
  215. pyropdf-0.2.2/crates/pyropdf-python/src/schema.rs +0 -51
  216. pyropdf-0.2.2/crates/pyropdf-python/src/shadings.rs +0 -151
  217. pyropdf-0.2.2/crates/pyropdf-python/src/sign.rs +0 -352
  218. pyropdf-0.2.2/crates/pyropdf-python/src/unrotate.rs +0 -639
  219. pyropdf-0.2.2/crates/pyropdf-store/clippy.toml +0 -101
  220. pyropdf-0.2.2/python/pyropdf/_canvas.py +0 -2587
  221. {pyropdf-0.2.2 → pyropdf-0.3.1}/LICENSE +0 -0
  222. {pyropdf-0.2.2 → pyropdf-0.3.1}/NOTICE +0 -0
  223. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/proptest-regressions/content/shading/tests.txt +0 -0
  224. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/proptest-regressions/fonts/tests.txt +0 -0
  225. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/proptest-regressions/standard/tests.txt +0 -0
  226. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/content/mod.rs +0 -0
  227. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/content/page.rs +0 -0
  228. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/content/shading/tests.rs +0 -0
  229. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/content/tests.rs +0 -0
  230. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/font_guard.rs +0 -0
  231. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/stretch.rs +0 -0
  232. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/tests.rs +0 -0
  233. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/text/layout.rs +0 -0
  234. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/text/search.rs +0 -0
  235. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/text/selection.rs +0 -0
  236. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/bitmap/tests.rs +0 -0
  237. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/bitmap.rs +0 -0
  238. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/colour/tests.rs +0 -0
  239. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/colour.rs +0 -0
  240. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/embed/tests.rs +0 -0
  241. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/instance/tests.rs +0 -0
  242. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/shape/tests.rs +0 -0
  243. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/NotoSansArabic-Variable-subset-instances.txt +0 -0
  244. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/NotoSansArabic-Variable-subset.ttf +0 -0
  245. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/NotoSansHebrew-subset.ttf +0 -0
  246. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/NotoSansJP-subset.otf +0 -0
  247. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/OFL.txt +0 -0
  248. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/README.md +0 -0
  249. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-bitmaps-cbdt-only.ttf +0 -0
  250. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-bitmaps-cbdt.ttf +0 -0
  251. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-bitmaps-sbix-2048.ttf +0 -0
  252. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-bitmaps-sbix-only.ttf +0 -0
  253. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-bitmaps-sbix.ttf +0 -0
  254. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-cbdt-raw.ttf +0 -0
  255. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-cbdt.ttf +0 -0
  256. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-colr-paints.ttf +0 -0
  257. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-colr-sweep.ttf +0 -0
  258. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-colr0.ttf +0 -0
  259. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-colr1.ttf +0 -0
  260. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-eblc-only.ttf +0 -0
  261. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-eblc.ttf +0 -0
  262. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-sbix-damaged.ttf +0 -0
  263. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-sbix-jpeg.ttf +0 -0
  264. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-sbix.ttf +0 -0
  265. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-svg-cff.otf +0 -0
  266. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-svg.ttf +0 -0
  267. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-bitmaps-cbdt.ttf +0 -0
  268. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-bitmaps-sbix.ttf +0 -0
  269. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-colour.ttf +0 -0
  270. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-colr.ttf +0 -0
  271. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-composites.ttf +0 -0
  272. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-latin.ttf +0 -0
  273. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-overflow.ttf +0 -0
  274. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable_faces.py +0 -0
  275. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/type3/tests.rs +0 -0
  276. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/forms/face.rs +0 -0
  277. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/pages/sources.rs +0 -0
  278. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/render/fallback.rs +0 -0
  279. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/sign/signer_info.rs +0 -0
  280. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/sign/tests.rs +0 -0
  281. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/appearance.rs +0 -0
  282. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/font.rs +0 -0
  283. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/mod.rs +0 -0
  284. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/ops.rs +0 -0
  285. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/tests.rs +0 -0
  286. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/source.rs +0 -0
  287. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/Cargo.toml +0 -0
  288. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/src/check/tests.rs +0 -0
  289. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/src/generated.rs +0 -0
  290. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/src/tests.rs +0 -0
  291. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/Cargo.toml +0 -0
  292. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/examples/parser_budget_probe.rs +0 -0
  293. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/proptest-regressions/refs/tests.txt +0 -0
  294. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/cancel.rs +0 -0
  295. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/decode.rs +0 -0
  296. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/limits.rs +0 -0
  297. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/shared.rs +0 -0
  298. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/error.rs +0 -0
  299. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/index/lex.rs +0 -0
  300. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/index/mod.rs +0 -0
  301. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/index/objstm.rs +0 -0
  302. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/index/read.rs +0 -0
  303. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/index/scan.rs +0 -0
  304. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/index/tests.rs +0 -0
  305. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/memo/dependencies.rs +0 -0
  306. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/memo/mod.rs +0 -0
  307. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/memo/tests.rs +0 -0
  308. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/derived.rs +0 -0
  309. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/form_impact.rs +0 -0
  310. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/labels.rs +0 -0
  311. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/navigation.rs +0 -0
  312. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/roles.rs +0 -0
  313. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/structure.rs +0 -0
  314. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/base.rs +0 -0
  315. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/linear.rs +0 -0
  316. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/merge.rs +0 -0
  317. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/mod.rs +0 -0
  318. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/pack.rs +0 -0
  319. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/prune.rs +0 -0
  320. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/raw.rs +0 -0
  321. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/recode.rs +0 -0
  322. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/renumber.rs +0 -0
  323. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/tests.rs +0 -0
  324. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/security/crypto.rs +0 -0
  325. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/security/mod.rs +0 -0
  326. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/security/tests.rs +0 -0
  327. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/security/value.rs +0 -0
  328. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/value/bytes.rs +0 -0
  329. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/value/read.rs +0 -0
  330. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/value/tests.rs +0 -0
  331. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/base.rs +0 -0
  332. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/document.rs +0 -0
  333. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/mod.rs +0 -0
  334. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/stale.rs +0 -0
  335. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/stamps.rs +0 -0
  336. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/table.rs +0 -0
  337. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/transaction.rs +0 -0
  338. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/write/mod.rs +0 -0
  339. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/write/tests.rs +0 -0
  340. {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/tests/corpus.rs +0 -0
  341. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_changes.py +0 -0
  342. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_clean.py +0 -0
  343. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_links.py +0 -0
  344. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_markdown.py +0 -0
  345. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_metadata.py +0 -0
  346. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_ocr.py +0 -0
  347. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_operations.py +0 -0
  348. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_outline.py +0 -0
  349. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_pages.py +0 -0
  350. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_pixmap.py +0 -0
  351. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_targets.py +0 -0
  352. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_text_edit.py +0 -0
  353. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_widgets.py +0 -0
  354. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/py.typed +0 -0
  355. {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/typed.pyi +0 -0
  356. {pyropdf-0.2.2 → pyropdf-0.3.1}/tools/arlington/model/LICENSE +0 -0
@@ -1212,57 +1212,57 @@ dependencies = [
1212
1212
 
1213
1213
  [[package]]
1214
1214
  name = "pyropdf-engine"
1215
- version = "0.2.2"
1215
+ version = "0.3.1"
1216
1216
  dependencies = [
1217
1217
  "cms",
1218
1218
  "der",
1219
+ "flate2",
1220
+ "gif",
1219
1221
  "harfrust",
1220
1222
  "hayro",
1221
1223
  "hayro-font",
1224
+ "hayro-jpeg2000",
1222
1225
  "hayro-svg",
1223
1226
  "hmac",
1227
+ "jpeg-encoder",
1224
1228
  "p256",
1225
1229
  "p384",
1226
1230
  "pdf-base14-metrics",
1227
1231
  "pkcs8",
1232
+ "png",
1228
1233
  "proptest",
1229
1234
  "pyropdf-store",
1230
1235
  "rten",
1231
1236
  "rten-tensor",
1232
1237
  "sha2",
1233
1238
  "skrifa 0.49.0",
1239
+ "tiff",
1234
1240
  "unicode-bidi",
1235
1241
  "unicode-linebreak",
1236
1242
  "unicode-script",
1237
1243
  "unicode-segmentation",
1238
1244
  "x509-cert",
1245
+ "zune-jpeg",
1239
1246
  ]
1240
1247
 
1241
1248
  [[package]]
1242
1249
  name = "pyropdf-python"
1243
- version = "0.2.2"
1250
+ version = "0.3.1"
1244
1251
  dependencies = [
1245
- "flate2",
1246
- "gif",
1247
- "hayro-jpeg2000",
1248
- "jpeg-encoder",
1249
- "png",
1250
1252
  "pyo3",
1251
1253
  "pyropdf-engine",
1252
1254
  "pyropdf-schema",
1253
1255
  "pyropdf-store",
1254
- "tiff",
1255
1256
  "windows-sys",
1256
- "zune-jpeg",
1257
1257
  ]
1258
1258
 
1259
1259
  [[package]]
1260
1260
  name = "pyropdf-schema"
1261
- version = "0.2.2"
1261
+ version = "0.3.1"
1262
1262
 
1263
1263
  [[package]]
1264
1264
  name = "pyropdf-store"
1265
- version = "0.2.2"
1265
+ version = "0.3.1"
1266
1266
  dependencies = [
1267
1267
  "aes",
1268
1268
  "flate2",
@@ -3,7 +3,7 @@ members = ["crates/*"]
3
3
  resolver = "3"
4
4
 
5
5
  [workspace.package]
6
- version = "0.2.2"
6
+ version = "0.3.1"
7
7
  authors = ["Yusuke Hayashi <yusuke8h@gmail.com>"]
8
8
  edition = "2024"
9
9
  license = "MIT"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyropdf
3
- Version: 0.2.2
3
+ Version: 0.3.1
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Programming Language :: Python :: 3
@@ -45,7 +45,7 @@ store that every engine reads, so an edit costs what it touches, every
45
45
  change can be undone, and a failed transaction leaves the document as it
46
46
  was.
47
47
 
48
- **Status:** alpha, 0.2. The API may change between minor versions. Documentation:
48
+ **Status:** 0.3. The API may change between minor versions. Documentation:
49
49
  <https://pyropdf.haya.works/>. [DESIGN.md](DESIGN.md) describes the
50
50
  foundation, and [CHANGELOG.md](CHANGELOG.md) what each release holds.
51
51
 
@@ -65,12 +65,12 @@ with pyropdf.open("input.pdf") as doc:
65
65
  doc.save("output.pdf", incremental=True)
66
66
  ```
67
67
 
68
- 0.2.2 reads text, words, layout, tables, images, fonts, and Markdown,
68
+ 0.3.0 reads text, words, layout, tables, images, fonts, and Markdown,
69
69
  exports them as JSON or retrieval chunks, runs offline OCR, and renders
70
70
  pages to pixmaps and SVG, drawing the CJK fonts that a document does not
71
- embed in fallback faces. It draws paths in colors or gradients, images,
72
- pages, and text in Standard 14 or OpenType fonts, in color glyphs and any
73
- weight of a variable face, with `page.draw`; edits pages and their boxes,
71
+ embed in fallback faces. It draws paths and text in colors or gradients,
72
+ images, and pages, the text in Standard 14 or OpenType fonts, in color
73
+ glyphs and any weight of a variable face, with `page.draw`; edits pages and their boxes,
74
74
  text, images, colors, annotations, links, form fields, outlines,
75
75
  attachments, metadata, page labels, and layers; signs documents and verifies
76
76
  signatures; removes hidden or active content and subsets fonts; and saves
@@ -85,6 +85,9 @@ that claim.
85
85
 
86
86
  ## Contributing
87
87
 
88
+ For your first contribution, browse the [available good first issues](https://github.com/yhay81/pyropdf/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+-label%3Ain-progress)
89
+ and leave a comment on the one you would like to take.
90
+
88
91
  [CONTRIBUTING.md](CONTRIBUTING.md) explains how to build, test, and propose
89
92
  a change, and [SECURITY.md](SECURITY.md) how to report a vulnerability.
90
93
 
@@ -6,7 +6,7 @@ store that every engine reads, so an edit costs what it touches, every
6
6
  change can be undone, and a failed transaction leaves the document as it
7
7
  was.
8
8
 
9
- **Status:** alpha, 0.2. The API may change between minor versions. Documentation:
9
+ **Status:** 0.3. The API may change between minor versions. Documentation:
10
10
  <https://pyropdf.haya.works/>. [DESIGN.md](DESIGN.md) describes the
11
11
  foundation, and [CHANGELOG.md](CHANGELOG.md) what each release holds.
12
12
 
@@ -26,12 +26,12 @@ with pyropdf.open("input.pdf") as doc:
26
26
  doc.save("output.pdf", incremental=True)
27
27
  ```
28
28
 
29
- 0.2.2 reads text, words, layout, tables, images, fonts, and Markdown,
29
+ 0.3.0 reads text, words, layout, tables, images, fonts, and Markdown,
30
30
  exports them as JSON or retrieval chunks, runs offline OCR, and renders
31
31
  pages to pixmaps and SVG, drawing the CJK fonts that a document does not
32
- embed in fallback faces. It draws paths in colors or gradients, images,
33
- pages, and text in Standard 14 or OpenType fonts, in color glyphs and any
34
- weight of a variable face, with `page.draw`; edits pages and their boxes,
32
+ embed in fallback faces. It draws paths and text in colors or gradients,
33
+ images, and pages, the text in Standard 14 or OpenType fonts, in color
34
+ glyphs and any weight of a variable face, with `page.draw`; edits pages and their boxes,
35
35
  text, images, colors, annotations, links, form fields, outlines,
36
36
  attachments, metadata, page labels, and layers; signs documents and verifies
37
37
  signatures; removes hidden or active content and subsets fonts; and saves
@@ -46,5 +46,8 @@ that claim.
46
46
 
47
47
  ## Contributing
48
48
 
49
+ For your first contribution, browse the [available good first issues](https://github.com/yhay81/pyropdf/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+-label%3Ain-progress)
50
+ and leave a comment on the one you would like to take.
51
+
49
52
  [CONTRIBUTING.md](CONTRIBUTING.md) explains how to build, test, and propose
50
53
  a change, and [SECURITY.md](SECURITY.md) how to report a vulnerability.
@@ -44,6 +44,21 @@ sha2 = "0.11.1"
44
44
  hmac = "0.13.0"
45
45
  harfrust = "0.15.0"
46
46
  unicode-script = "0.5.9"
47
+ # PNG output of Pixmap and PNG input of Pixmap and image replacement, the
48
+ # versions that hayro and the store already pull in.
49
+ flate2 = "1.1.10"
50
+ png = "0.18.1"
51
+ # JPEG output of Pixmap, doc.render, and image rewriting, as pylopdf encodes it.
52
+ jpeg-encoder = "0.7.1"
53
+ # JPEG input of Pixmap.from_bytes and image samples, the version that hayro
54
+ # already pulls in.
55
+ zune-jpeg = { version = "0.5.15", default-features = false, features = ["std"] }
56
+ # GIF, TIFF, and JPEG 2000 input of Pixmap.from_bytes (#446). hayro already
57
+ # pulls in the JPEG 2000 decoder, and TIFF reuses its Deflate, LZW, and JPEG
58
+ # decoders.
59
+ gif = { version = "0.14.2", default-features = false, features = ["std"] }
60
+ hayro-jpeg2000 = { version = "0.5.0", default-features = false, features = ["std", "simd"] }
61
+ tiff = { version = "0.11.3", default-features = false, features = ["deflate", "jpeg", "lzw", "fax"] }
47
62
 
48
63
  [dev-dependencies]
49
64
  # Property tests of the bridge (DESIGN.md F9).