Compress embedded font streams in the PDF writer
This commit is contained in:
1 parent
369472e7f7
commit
4735d75c1f
80 files changed
+9119
-5
No files matched your search
+45
@@ -0,0 +1,45 @@
|
||||
[package]
|
||||
name = "printpdf"
|
||||
version = "0.3.4"
|
||||
authors = ["Felix Schütt <[email protected]>"]
|
||||
repository = "https://github.com/fschutt/printpdf"
|
||||
homepage = "https://github.com/fschutt/printpdf"
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
description = "Rust library for writing PDF files"
|
||||
keywords = ["pdf", "gui", "graphics", "wkhtmltopdf"]
|
||||
categories = ["gui"]
|
||||
exclude = ["./assets/*", "./doc/*", "./examples/*"]
|
||||
|
||||
[dependencies]
|
||||
lopdf = { version = "0.26", default-features = false }
|
||||
rusttype = { version = "0.8.2", default-features = false, features = ["std"] }
|
||||
time = { version = "0.2.11", default-features = false, features = ["std"] }
|
||||
log = { version = "0.4.8", optional = true }
|
||||
|
||||
[dependencies.image]
|
||||
version = "0.23"
|
||||
default-features = false
|
||||
features = ["gif", "jpeg", "png", "pnm", "tiff", "bmp"]
|
||||
optional = true
|
||||
|
||||
[features]
|
||||
default = ["embedded_images"]
|
||||
clippy = []
|
||||
logging = ["log"]
|
||||
embedded_images = ["image"]
|
||||
ico = ["image/ico"]
|
||||
tga = ["image/tga"]
|
||||
hdr = ["image/hdr"]
|
||||
jpeg_rayon = ["image/jpeg_rayon"]
|
||||
dxt = ["image/dxt"]
|
||||
dds = ["image/dds"]
|
||||
webp = ["image/webp"]
|
||||
less-optimization = []
|
||||
|
||||
[target.'cfg(all(target_arch="wasm32",target_os="unknown"))'.dependencies]
|
||||
js-sys = "0.3.40"
|
||||
|
||||
[badges]
|
||||
travis-ci = { repository = "fschutt/printpdf" }
|
||||
appveyor = { repository = "fschutt/printpdf" }
|
||||
Reference in new issue
Block a user