diff --git a/Cargo.lock b/Cargo.lock index 0c741c3a..8351dfda 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7106,7 +7106,7 @@ dependencies = [ [[package]] name = "winprint" version = "0.2.1" -source = "git+https://github.com/storytold/winprint.rs?rev=51934db382f225454cf152a8657eb03789be63c4#51934db382f225454cf152a8657eb03789be63c4" +source = "git+https://github.com/storytold/winprint.rs?rev=3c978dfcf3d460577fabd87aeea7a84ffdcfb396#3c978dfcf3d460577fabd87aeea7a84ffdcfb396" dependencies = [ "flate2", "fmt-derive", @@ -7121,6 +7121,7 @@ dependencies = [ "windows", "windows-core", "windows-implement", + "windows-numerics", "xml", ] diff --git a/crates/print/Cargo.toml b/crates/print/Cargo.toml index 9edae26e..7dc5bb62 100644 --- a/crates/print/Cargo.toml +++ b/crates/print/Cargo.toml @@ -30,8 +30,12 @@ log = "0.4" # creates the Direct2D factory multi-threaded, since Windows.Data.Pdf draws on its own worker # threads (storytold/pdfcraft#5006). File-backed PDF loading avoids StorageFile access # denial without whole-job buffering; includes the #15 test cleanup and explicit WinRT -# feature. Pinned to an immutable revision; review before bumping. -winprint = { git = "https://github.com/storytold/winprint.rs", rev = "51934db382f225454cf152a8657eb03789be63c4", default-features = false } +# feature. It draws each page at the job's resolution rather than ~96 dpi (winprint.rs#19, +# storytold/pdfcraft#4941), writes QName values as prefix:local so drivers accept the merged +# ticket (winprint.rs#12, storytold/pdfcraft#3823), and reads whitespace-padded integers in +# PrintCapabilities (winprint.rs#3, storytold/pdfcraft#2430). Pinned to an immutable revision; +# review before bumping. +winprint = { git = "https://github.com/storytold/winprint.rs", rev = "3c978dfcf3d460577fabd87aeea7a84ffdcfb396", default-features = false } # GetDefaultPrinter (MIT). winsafe = { version = "0.0.29", default-features = false, features = ["winspool"] } # The job file's private folder.