chore(deps): update rust crate printpdf to v0.12.7 - #140
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/printpdf-0.x-lockfile
branch
from
August 29, 2026 12:53
38b43a7 to
fd9e397
Compare
cachebag
approved these changes
Aug 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.12.5→0.12.7Release Notes
fschutt/printpdf (printpdf)
v0.12.7PDF streams are actually compressed when
optimizeis on (#284). The saveoption advertised compression but the
Document::compress()call was disabledand font programs were excluded outright. Page content and embedded font
streams now go out Flate-compressed;
/Length1keeps the DECODED TrueTypeprogram size per ISO 32000 (lopdf rewrites
/Lengthwhen it compresses), soreaders still load the fonts. Verified against poppler:
pdffontsaccepts theoutput and
pdftotextround-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 whoseconsumers 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
FcScanConfiginjection release) through theexisting
>=4.4.9, <5range — printpdf uses none of the affected APIs.v0.12.6Break-aware pagination is ON. HTML→PDF now goes through azul's
layout_document_paged_v2with the fullBreakPolicyenabled:break-inside: avoidpushes boxes below the page break intact,
widows/orphansact on paragraph linecounts, 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 breakcalculation). 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 thepagination and changeset refactor) to the published azul
0.0.14crates.Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.