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.
- {pyropdf-0.2.2 → pyropdf-0.3.1}/Cargo.lock +11 -11
- {pyropdf-0.2.2 → pyropdf-0.3.1}/Cargo.toml +1 -1
- {pyropdf-0.2.2 → pyropdf-0.3.1}/PKG-INFO +9 -6
- {pyropdf-0.2.2 → pyropdf-0.3.1}/README.md +8 -5
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/Cargo.toml +15 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/annotations/edit.rs +1111 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/annotations/geometry.rs +412 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/annotations/icons.rs +12 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/annotations/missing.rs +33 -16
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/annotations/mod.rs +323 -71
- pyropdf-0.3.1/crates/pyropdf-engine/src/annotations/popup.rs +285 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/annotations/read.rs +893 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/annotations/shapes.rs +21 -5
- pyropdf-0.3.1/crates/pyropdf-engine/src/annotations/tests.rs +1308 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/annotations/text.rs +8 -3
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/bridge/mod.rs +79 -29
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/bridge/tests.rs +131 -7
- pyropdf-0.3.1/crates/pyropdf-engine/src/changes.rs +1235 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/content/shading.rs +194 -18
- pyropdf-0.3.1/crates/pyropdf-engine/src/display.rs +202 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/glyphs.rs +3 -2
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/images.rs +8 -6
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/mod.rs +11 -15
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/model.rs +319 -38
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/provenance.rs +3 -3
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/reads.rs +4 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/text/tables.rs +134 -3
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/text.rs +107 -15
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/cff.rs +144 -28
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/colr/tests.rs +34 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/colr.rs +47 -17
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/compact/tests.rs +74 -12
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/compact.rs +107 -31
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/embed.rs +20 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/instance.rs +69 -3
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/mod.rs +7 -1
- pyropdf-0.3.1/crates/pyropdf-engine/src/fonts/settle/tests.rs +114 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/settle.rs +86 -7
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/sfnt.rs +124 -3
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/shape.rs +4 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/fonts/testdata/colour-colr-unclipped.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour_faces.py +12 -4
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/tests.rs +116 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/type3.rs +184 -13
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/appearance.rs +401 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/forms/defaults.rs +118 -40
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/field_edit/acroform.rs +243 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/field_edit/details.rs +56 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/field_edit/edit.rs +197 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/field_edit/insert.rs +205 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/field_edit/spec.rs +340 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/field_edit.rs +16 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/fill.rs +586 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/fill_index/appearance_tests.rs +791 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/fill_index.rs +799 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/forms/flatten.rs +153 -85
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/form_font.rs +265 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/import.rs +613 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/mod.rs +112 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/radio.rs +338 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/read.rs +307 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/remove.rs +420 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/settle.rs +287 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/style.rs +576 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/forms/tests.rs +144 -13
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/forms/text.rs +4 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/traversal.rs +617 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/tree_edit.rs +183 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/values.rs +303 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/forms/widget_edit.rs +513 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/lib.rs +13 -0
- pyropdf-0.2.2/crates/pyropdf-python/src/annotations/links.rs → pyropdf-0.3.1/crates/pyropdf-engine/src/navigation/destinations.rs +136 -480
- pyropdf-0.3.1/crates/pyropdf-engine/src/navigation/links.rs +613 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/navigation/mod.rs +152 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/navigation/outline/count_cache.rs +88 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/navigation/outline.rs +1899 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/navigation/tests.rs +370 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/ocr/layer.rs +86 -29
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/ocr/mod.rs +55 -7
- pyropdf-0.3.1/crates/pyropdf-engine/src/pages/canvas.rs +410 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/pages/copy.rs +117 -143
- pyropdf-0.3.1/crates/pyropdf-engine/src/pages/geometry.rs +200 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/pages/import/graft.rs +70 -105
- pyropdf-0.3.1/crates/pyropdf-engine/src/pages/import/selection.rs +486 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/pages/import.rs +16 -8
- pyropdf-0.3.1/crates/pyropdf-engine/src/pages/mod.rs +158 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/pages/tree/tests.rs +155 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/pages/tree.rs +475 -0
- pyropdf-0.3.1/crates/pyropdf-engine/src/pages/unrotate.rs +1147 -0
- {pyropdf-0.2.2/crates/pyropdf-python/src → pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap}/codecs.rs +125 -69
- pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap/encode.rs +393 -0
- {pyropdf-0.2.2/crates/pyropdf-python/src → pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap}/fax.rs +29 -19
- {pyropdf-0.2.2/crates/pyropdf-python/src → pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap}/images.rs +134 -202
- pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap/mod.rs +95 -0
- pyropdf-0.2.2/crates/pyropdf-python/src/pixel_ops.rs → pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap/ops.rs +98 -57
- pyropdf-0.3.1/crates/pyropdf-engine/src/pixmap/tests.rs +252 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/render/batch.rs +30 -7
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/render/mod.rs +121 -68
- pyropdf-0.3.1/crates/pyropdf-engine/src/render/svg.rs +170 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/render/tests.rs +105 -50
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/sign/key.rs +4 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/sign/mod.rs +8 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/sign/pkcs12.rs +47 -1
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/sign/verify.rs +30 -1
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/layout.rs +12 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/scan.rs +16 -2
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/Cargo.toml +0 -13
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/annotations/input.rs +191 -0
- pyropdf-0.3.1/crates/pyropdf-python/src/annotations/links.rs +156 -0
- pyropdf-0.3.1/crates/pyropdf-python/src/annotations.rs +490 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/buffers.rs +255 -134
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/cancel.rs +17 -13
- pyropdf-0.3.1/crates/pyropdf-python/src/changes.rs +47 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/check.rs +38 -29
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/content.rs +43 -23
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/document.rs +250 -197
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/errors.rs +40 -5
- pyropdf-0.3.1/crates/pyropdf-python/src/fax.rs +25 -0
- pyropdf-0.3.1/crates/pyropdf-python/src/fonts.rs +1356 -0
- pyropdf-0.3.1/crates/pyropdf-python/src/forms.rs +659 -0
- pyropdf-0.3.1/crates/pyropdf-python/src/history/testing.rs +112 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/history.rs +264 -177
- pyropdf-0.3.1/crates/pyropdf-python/src/images.rs +170 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/items.rs +58 -42
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/lib.rs +21 -8
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/objects.rs +261 -175
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/ocr.rs +140 -112
- pyropdf-0.3.1/crates/pyropdf-python/src/outline.rs +156 -0
- pyropdf-0.3.1/crates/pyropdf-python/src/pages.rs +728 -0
- pyropdf-0.3.1/crates/pyropdf-python/src/pixmap.rs +1382 -0
- pyropdf-0.3.1/crates/pyropdf-python/src/render.rs +44 -0
- pyropdf-0.3.1/crates/pyropdf-python/src/schema.rs +61 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/security.rs +33 -29
- pyropdf-0.3.1/crates/pyropdf-python/src/shadings.rs +176 -0
- pyropdf-0.3.1/crates/pyropdf-python/src/sign.rs +389 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/text.rs +169 -151
- pyropdf-0.3.1/crates/pyropdf-python/src/tree.rs +160 -0
- pyropdf-0.3.1/crates/pyropdf-python/src/unrotate.rs +45 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/windows_permissions.rs +8 -2
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/src/check/expr.rs +20 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/src/check/mod.rs +96 -7
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/src/lib.rs +7 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/code.rs +131 -9
- pyropdf-0.3.1/crates/pyropdf-store/src/budget/hash.rs +145 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/mod.rs +2 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/tests.rs +125 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/vec.rs +42 -14
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/lib.rs +1 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/pages/mod.rs +76 -5
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/pages/tests.rs +17 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/copy.rs +7 -2
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/forms.rs +11 -14
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/mod.rs +22 -3
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/rules.rs +24 -1
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/tests.rs +258 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/settle/tests.rs +16 -15
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/settle.rs +18 -13
- pyropdf-0.3.1/crates/pyropdf-store/src/tree/mod.rs +226 -0
- pyropdf-0.3.1/crates/pyropdf-store/src/tree/name.rs +1084 -0
- pyropdf-0.3.1/crates/pyropdf-store/src/tree/number.rs +231 -0
- pyropdf-0.3.1/crates/pyropdf-store/src/tree/parent.rs +892 -0
- pyropdf-0.3.1/crates/pyropdf-store/src/tree/tests.rs +409 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/value/copy.rs +25 -9
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/value/mod.rs +1 -1
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/journal.rs +30 -6
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/tests.rs +136 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/pyproject.toml +1 -1
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/__init__.py +38 -9
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_annotations.py +17 -13
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_attachments.py +39 -55
- pyropdf-0.3.1/python/pyropdf/_canvas/__init__.py +24 -0
- pyropdf-0.3.1/python/pyropdf/_canvas/_canvas.py +1458 -0
- pyropdf-0.3.1/python/pyropdf/_canvas/_path.py +604 -0
- pyropdf-0.3.1/python/pyropdf/_canvas/_resources.py +185 -0
- pyropdf-0.3.1/python/pyropdf/_canvas/_tags.py +282 -0
- pyropdf-0.3.1/python/pyropdf/_canvas/_text.py +325 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_check.py +4 -2
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_chunks.py +8 -2
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_content.py +154 -52
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_core.pyi +54 -9
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_document.py +38 -19
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_encryption.py +2 -2
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_errors.py +3 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_fonts.py +24 -17
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_form.py +7 -5
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_geometry.py +6 -6
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_history.py +1 -1
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_images.py +23 -27
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_layers.py +3 -2
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_limit_codes.py +67 -6
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_limits.py +61 -11
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_objects.py +2 -3
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_page.py +74 -12
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_page_labels.py +10 -9
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_profiles.py +5 -1
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_recolor.py +29 -119
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_sanitize.py +3 -2
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_signing.py +13 -4
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_tables.py +14 -15
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_text.py +45 -25
- pyropdf-0.3.1/python/pyropdf/_xobjects.py +159 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/typed.py +10 -4
- pyropdf-0.2.2/crates/pyropdf-engine/src/annotations/tests.rs +0 -463
- pyropdf-0.2.2/crates/pyropdf-engine/src/forms/mod.rs +0 -1420
- pyropdf-0.2.2/crates/pyropdf-engine/src/pages/mod.rs +0 -5
- pyropdf-0.2.2/crates/pyropdf-engine/src/render/svg.rs +0 -96
- pyropdf-0.2.2/crates/pyropdf-python/src/annotations.rs +0 -2644
- pyropdf-0.2.2/crates/pyropdf-python/src/changes.rs +0 -575
- pyropdf-0.2.2/crates/pyropdf-python/src/fonts.rs +0 -1288
- pyropdf-0.2.2/crates/pyropdf-python/src/forms.rs +0 -6675
- pyropdf-0.2.2/crates/pyropdf-python/src/outline.rs +0 -1334
- pyropdf-0.2.2/crates/pyropdf-python/src/pages.rs +0 -1827
- pyropdf-0.2.2/crates/pyropdf-python/src/pixmap.rs +0 -1483
- pyropdf-0.2.2/crates/pyropdf-python/src/render.rs +0 -49
- pyropdf-0.2.2/crates/pyropdf-python/src/schema.rs +0 -51
- pyropdf-0.2.2/crates/pyropdf-python/src/shadings.rs +0 -151
- pyropdf-0.2.2/crates/pyropdf-python/src/sign.rs +0 -352
- pyropdf-0.2.2/crates/pyropdf-python/src/unrotate.rs +0 -639
- pyropdf-0.2.2/crates/pyropdf-store/clippy.toml +0 -101
- pyropdf-0.2.2/python/pyropdf/_canvas.py +0 -2587
- {pyropdf-0.2.2 → pyropdf-0.3.1}/LICENSE +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/NOTICE +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/proptest-regressions/content/shading/tests.txt +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/proptest-regressions/fonts/tests.txt +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/proptest-regressions/standard/tests.txt +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/content/mod.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/content/page.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/content/shading/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/content/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/font_guard.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/stretch.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/text/layout.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/text/search.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/extract/text/selection.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/bitmap/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/bitmap.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/colour/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/colour.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/embed/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/instance/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/shape/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/NotoSansArabic-Variable-subset-instances.txt +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/NotoSansArabic-Variable-subset.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/NotoSansHebrew-subset.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/NotoSansJP-subset.otf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/OFL.txt +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/README.md +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-bitmaps-cbdt-only.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-bitmaps-cbdt.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-bitmaps-sbix-2048.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-bitmaps-sbix-only.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-bitmaps-sbix.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-cbdt-raw.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-cbdt.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-colr-paints.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-colr-sweep.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-colr0.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-colr1.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-eblc-only.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-eblc.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-sbix-damaged.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-sbix-jpeg.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-sbix.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-svg-cff.otf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/colour-svg.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-bitmaps-cbdt.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-bitmaps-sbix.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-colour.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-colr.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-composites.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-latin.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable-overflow.ttf +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/testdata/variable_faces.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/fonts/type3/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/forms/face.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/pages/sources.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/render/fallback.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/sign/signer_info.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/sign/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/appearance.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/font.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/mod.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/ops.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-engine/src/standard/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-python/src/source.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/Cargo.toml +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/src/check/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/src/generated.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-schema/src/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/Cargo.toml +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/examples/parser_budget_probe.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/proptest-regressions/refs/tests.txt +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/cancel.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/decode.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/limits.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/budget/shared.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/error.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/index/lex.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/index/mod.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/index/objstm.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/index/read.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/index/scan.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/index/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/memo/dependencies.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/memo/mod.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/memo/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/derived.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/form_impact.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/labels.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/navigation.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/roles.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/refs/structure.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/base.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/linear.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/merge.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/mod.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/pack.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/prune.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/raw.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/recode.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/renumber.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/save/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/security/crypto.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/security/mod.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/security/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/security/value.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/value/bytes.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/value/read.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/value/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/base.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/document.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/mod.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/stale.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/stamps.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/table.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/version/transaction.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/write/mod.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/src/write/tests.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/crates/pyropdf-store/tests/corpus.rs +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_changes.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_clean.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_links.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_markdown.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_metadata.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_ocr.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_operations.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_outline.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_pages.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_pixmap.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_targets.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_text_edit.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/_widgets.py +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/py.typed +0 -0
- {pyropdf-0.2.2 → pyropdf-0.3.1}/python/pyropdf/typed.pyi +0 -0
- {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.
|
|
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.
|
|
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.
|
|
1261
|
+
version = "0.3.1"
|
|
1262
1262
|
|
|
1263
1263
|
[[package]]
|
|
1264
1264
|
name = "pyropdf-store"
|
|
1265
|
-
version = "0.
|
|
1265
|
+
version = "0.3.1"
|
|
1266
1266
|
dependencies = [
|
|
1267
1267
|
"aes",
|
|
1268
1268
|
"flate2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyropdf
|
|
3
|
-
Version: 0.
|
|
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:**
|
|
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.
|
|
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,
|
|
72
|
-
|
|
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:**
|
|
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.
|
|
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,
|
|
33
|
-
|
|
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).
|