From 95908e2b92476733f25efbb922e072fa5d91a582 Mon Sep 17 00:00:00 2001 From: Triwarr <170976175+Triwarr@users.noreply.github.com> Date: Fri, 6 Nov 2026 22:16:32 +0100 Subject: [PATCH] Pin pdfium-render exactly to the verified wrapper Same reasoning as the wintab-sys pin in #11331: PDFium is FFI-loaded at run time, so a lockfile refresh must not move the wrapper under the pinned DLL release. Bump deliberately and re-check both the wrapper and the DLL release pin in packaging/windows/package.ps1. --- crates/io/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/io/Cargo.toml b/crates/io/Cargo.toml index ef151b80cf..c8885d5e9b 100644 --- a/crates/io/Cargo.toml +++ b/crates/io/Cargo.toml @@ -52,7 +52,10 @@ resvg = { version = "0.45", default-features = false, features = ["text", "syste # The SVG fallback font search keeps each font file's character map (already in the tree through usvg). ttf-parser = { version = "0.25", default-features = false } # PDF import (pdf_import.rs): PDFium renders the pages; the direct surfaces build the document. -pdfium-render = "0.9" +# Pinned exactly, like the WinTab wrappers in photocraft-tablet: PDFium is FFI-loaded at run time +# and the DLL release is pinned separately in packaging/windows/package.ps1, so a lockfile refresh +# must not move the wrapper under it. Bump deliberately and re-check both. +pdfium-render = "=0.9.5" image = { workspace = true, features = ["png"] } [target.'cfg(target_arch = "wasm32")'.dependencies]