mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-11 04:52:13 +00:00
print: winprint 3c978dfc: pages at the job's resolution, QName ticket values, padded integers (#761)
winprint.rs#19 draws each page at the resolution the job's ticket asks for instead of ~96 dpi (storytold/pdfcraft#4941, #2676). #12 writes QName property values as prefix:local, which drivers such as the Microsoft IPP Class Driver otherwise reject when merging the ticket (storytold/pdfcraft#3823). #3 accepts whitespace around xsd:integer values in PrintCapabilities (Toshiba Universal Printer 2, storytold/pdfcraft#2430). The public API craft-print uses is unchanged; only the rev and the lockfile move.
This commit is contained in:
1 parent
b6b8a55b2c
commit
0e4943cb5e
2 files changed
+8
-3
No files matched your search
Generated
+2
-1
@@ -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",
|
||||
]
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user