Skip to content

chore(deps): update rust crate printpdf to v0.12.7 - #140

Merged
cachebag merged 1 commit into
masterfrom
renovate/printpdf-0.x-lockfile
Aug 31, 2026
Merged

chore(deps): update rust crate printpdf to v0.12.7#140
cachebag merged 1 commit into
masterfrom
renovate/printpdf-0.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
printpdf dependencies patch 0.12.50.12.7

Release Notes

fschutt/printpdf (printpdf)

v0.12.7

PDF streams are actually compressed when optimize is on (#​284). The save
option advertised compression but the Document::compress() call was disabled
and font programs were excluded outright. Page content and embedded font
streams now go out Flate-compressed; /Length1 keeps the DECODED TrueType
program size per ISO 32000 (lopdf rewrites /Length when it compresses), so
readers still load the fonts. Verified against poppler: pdffonts accepts the
output and pdftotext round-trips the text of compressed documents.

Reduced-feature builds are warning-free (#​285). --no-default-features --features gif (and the other reduced combinations) compiled helpers whose
consumers were feature-gated away; the helpers now carry matching gates and
intentionally-unused parameters are underscore-prefixed. No behavior change.

Admits rust-fontconfig 4.6 (the FcScanConfig injection release) through the
existing >=4.4.9, <5 range — printpdf uses none of the affected APIs.

v0.12.6

Break-aware pagination is ON. HTML→PDF now goes through azul's
layout_document_paged_v2 with the full BreakPolicy enabled: break-inside: avoid
pushes boxes below the page break intact, widows/orphans act on paragraph line
counts, line boxes are never torn mid-line across pages, table rows stay whole, and
<thead> repeats on continuation pages (with its height reserved in the break
calculation). Documents that never hit a break constraint paginate exactly as
before; ones that do will see breaks land earlier (pushed up, bounded to a third of
the page height per break). The old fixed-interval slicing is what you get from azul
directly with a default BreakPolicy — printpdf no longer uses it.

The azul dependency moved from the git pin (aaa700097, the rev that shipped the
pagination and changeset refactor) to the published azul 0.0.14 crates.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title chore(deps): update rust crate printpdf to v0.12.6 chore(deps): update rust crate printpdf to v0.12.7 Aug 29, 2026
@renovate
renovate Bot force-pushed the renovate/printpdf-0.x-lockfile branch from 38b43a7 to fd9e397 Compare August 29, 2026 12:53
@cachebag
cachebag merged commit 0364d15 into master Aug 31, 2026
3 checks passed
@renovate
renovate Bot deleted the renovate/printpdf-0.x-lockfile branch August 31, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant