A PDF library written in Rust work in progress. Focus on extract content and render at now.
- ./pdf the core pdf lib
- ./tools command tools
- ./cairo-render render use cairo
Render use cairo for vector drawing, can implement by other graphic library.
cargo run --example render --release -- [pdf path]
trace every char, image, path information in pdf.
cargo run -- --filename [pdf path] trace
or
cargo run -- --filename [pdf path] --start [start page num] --end [end page num] trace
Some other command tools can found in ./tools
Just Implement Device trait , find example in ./tools
There are many feature are not implement, Postscript Function, JBIG2 Filter, Pattern Render, Search Font on System ...
关于
PDF library in Rust
最后更新于 2025-11-24 01:40:22
License