build: reach lopdf and encoding_rs through printpdf and the codec

#1418 added both as direct dependencies although each was already in the
tree: printpdf's to_lopdf_doc returns the lopdf document whose compress
and save_to are plain methods, and the codec's encoding_from_code_page
hands back the Big5 / GBK / Shift_JIS / EUC-KR encodings by their DXF
code-page names. Cargo.toml keeps its dependency list.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Fable 5.1 committed 2026-09-21 22:55:04 +03:00
1 parent 697ea4984b
commit baba5bccd3
3 files changed
+12 -17

No files matched your search

-5
View File
@@ -55,9 +55,6 @@ ttf-parser = "0.25"
cosmic-text = "0.15"
unicode-bidi = "0.3"
lyon_tessellation = "1.0.20"
# Big-font (.shx) lookups: encode a char to the font's Big5 / GBK / Shift_JIS
# / EUC-KR double-byte code. Already in the tree through other deps.
encoding_rs = "0.8"
pollster = "0.4"
[dev-dependencies]
@@ -93,8 +90,6 @@ i18n-embed = { version = "0.16", features = ["desktop-requester"] }
rayon = "1"
open = "5"
printpdf = { version = "0.9.1", default-features = false, features = ["images"] }
# The lopdf printpdf builds on: used to Flate-compress the exported PDF streams.
lopdf = { version = "0.39.0", default-features = false, features = ["time"] }
ureq = { version = "3", default-features = false, features = ["rustls", "platform-verifier", "win-system-proxy"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]