Skip to content

Commit

Permalink
Get SVG example to compile, test SVG tiger
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Dec 8, 2021
1 parent 0db5d9a commit 8d794e4
Show file tree
Hide file tree
Showing 6 changed files with 786 additions and 18 deletions.
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ description = "Rust library for writing PDF files"
keywords = ["pdf", "gui", "graphics", "wkhtmltopdf"]
categories = ["gui"]
exclude = ["./assets/*", "./doc/*", "./examples/*"]
autoexamples = false

[dependencies]
lopdf = { version = "0.26", default-features = false }
lopdf = { version = "0.26", default-features = false, features = ["pom_parser"] }
owned_ttf_parser = "0.12"
time = { version = "0.2.11", default-features = false, features = ["std"] }
log = { version = "0.4.8", optional = true }
Expand Down Expand Up @@ -45,3 +46,13 @@ js-sys = "0.3.40"
[badges]
travis-ci = { repository = "fschutt/printpdf" }
appveyor = { repository = "fschutt/printpdf" }

[[example]]
name = "svg"
default-features = false
required-features = ["svg"]

[[example]]
name = "bookmarks"
default-features = false
required-features = []
Loading

0 comments on commit 8d794e4

Please sign in to comment.