Skip to content

chore(deps): Bump oxidize-pdf from 4.1.1 to 4.2.1 in the cargo-minor group - #62

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/cargo-minor-d56ee25646
Open

chore(deps): Bump oxidize-pdf from 4.1.1 to 4.2.1 in the cargo-minor group#62
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/cargo-minor-d56ee25646

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 28, 2026

Copy link
Copy Markdown
Contributor

Bumps the cargo-minor group with 1 update: oxidize-pdf.

Updates oxidize-pdf from 4.1.1 to 4.2.1

Release notes

Sourced from oxidize-pdf's releases.

v4.2.1

oxidize-pdf v4.2.1

See CHANGELOG.md for details.

Installation

Add to your Cargo.toml:

[dependencies]
oxidize-pdf = "4.2.1"

What's Changed

Full Changelog: bzsanti/oxidizePdf@v4.2.0...v4.2.1

v4.2.0

oxidize-pdf v4.2.0

See CHANGELOG.md for details.

Installation

Add to your Cargo.toml:

[dependencies]
oxidize-pdf = "4.2.0"

What's Changed

Full Changelog: bzsanti/oxidizePdf@v4.1.1...v4.2.0

Changelog

Sourced from oxidize-pdf's changelog.

[4.2.1] - 2026-07-22

Fixed

  • Flat-path separator heuristics measured pen movement in post-CTM user space, corrupting line structure under a rotated CTM (#443). A plain forward advance along a rotated baseline changes the user-space y, which the newline gate misread as a line change (spurious newlines everywhere), and the rotation gave every same-baseline glyph a nonzero Δy, defeating the #441 same-line gate. Pen deltas are now projected onto the current text baseline direction (the image of the text-space x-axis under Tm × CTM): Δx along the baseline, Δy perpendicular to it. For axis-aligned content the projection is exactly the previous Δx/Δy — no behavior change — and under rotation it recovers the text's own line geometry, so all the Tj/TJ separator gates (newline threshold, space threshold, backward-jump wrap) now hold for rotated text. Mirrored (negative-x-scale) baselines now measure Δx along the text's own advance direction, so plain forward advances no longer misfire the backward-jump wrap gate. Axis-aligned shear projects exactly; shear combined with a rotated baseline is approximated. The tracked pen position is the full post-advance point, so rotated baselines advance y as well as x. Degenerate (zero-length or non-finite) baselines fall back to raw user-space deltas. The two line-structure invariants pinned to #443 (rotation property + 20° deterministic pin) flip from #[ignore] to permanent guards.
  • A same-line backward X jump was misread as a line wrap (#441). The flat-path heuristic added for #390 treated any backward pen jump beyond 2× newline_threshold as a wrap, ignoring Δy — so glyphs repositioned backward on the same baseline (justification, out-of-order emission) gained a spurious newline mid-word. In axis-aligned text a wrap always lands on a different baseline: the heuristic now also requires a nonzero Δy, in both the Tj and TJ handlers. Tight-leading wraps (small but nonzero Δy, the #390 class) still break. (Rotated/sheared CTMs were initially outside this gate's reach; closed by the #443 fix above in this same release.) A new line-structure property invariant guards both directions — spurious and missing newlines — against generated layouts whose true line structure is known by construction.

[4.2.0] - 2026-07-21

Fixed

  • A lone space decoded from /ToUnicode was discarded as garbage (#438). Both /ToUnicode paths tested a decode for usability by trimming it first, so a code mapping to exactly U+0020 trimmed to empty and was rejected — the extractor then fell back to the raw code and emitted the byte as a literal ASCII character, corrupting word boundaries in subsetted-font documents. The simple-font and CID paths had diverging copies of that predicate; they now share one, and a decode is unusable only when it produced no characters at all or nothing but non-whitespace control codes. Whitespace is real text. The

... (truncated)

Commits
  • 5f3e8b3 Merge pull request #446 from bzsanti/release/4.2.1
  • 84f8460 chore(release): 4.2.1
  • 55ef4db Merge pull request #445 from bzsanti/fix/issue-443-text-space-pen-deltas
  • 8e780cf test(extraction): pin mirrored-baseline behavior and pen_delta edges after QR
  • 8d7f4d0 Merge pull request #444 from bzsanti/test/issue-443-rotation-line-structure
  • ee42db8 fix(extraction): measure flat-path pen deltas in the text baseline frame
  • c017f91 test(extraction): pin INV-6 line structure under rotation to issue #443
  • aee73d9 Merge pull request #442 from bzsanti/fix/issue-441-same-line-backward-jump
  • 06d69e9 test(extraction): tighten #441 guards after quality review
  • 75718c4 fix(extraction): require nonzero dy before treating a backward jump as a line...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the cargo-minor group with 1 update: [oxidize-pdf](https://github.com/bzsanti/oxidizePdf).


Updates `oxidize-pdf` from 4.1.1 to 4.2.1
- [Release notes](https://github.com/bzsanti/oxidizePdf/releases)
- [Changelog](https://github.com/bzsanti/oxidizePdf/blob/main/CHANGELOG.md)
- [Commits](bzsanti/oxidizePdf@v4.1.1...v4.2.1)

---
updated-dependencies:
- dependency-name: oxidize-pdf
  dependency-version: 4.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants