-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run examples #130
Comments
I may have used a new feature: https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html#captured-identifiers-in-format-strings Please check if it works with Rust 1.58 |
Wonderful @s3bk, I upgraded to latest (1.59) and it compiled successfully. I was not able to figure out what was meant by the I really appreciate your help! No need to take this further, but just to share- my goal is simply to read a PDF and examine its contents. The hope is to have a table within the PDF stored in some vector, but I've little clue how to go about that with your library. If it's worthwhile assisting me to achieve this, I'll be more than glad to help with improving documentation in return. Either way, this is an issue solved. Cheers |
The examples are mostly outdated.. unfortunately. Please check https://github.com/pdf-rs/pdf_render/blob/master/render/examples/trace.rs for text extraction. |
Took some time to clone pdf_render but hit a blocker at pdf2image dependency pathfinder_rasterizer (which i assumed was the "pathfinder_rasterize" repo), and ultimately result in not having EGL on my machine (macOS)
|
You should be able to run the example from inside the |
Hello! I'm just trying to run some of the examples provided, and I'm not able to build after cloning the repo. The branch is at:
This may have more to do with me learning rust, but my expectation is i should just be able to clone then
cargo build
in the root directory. Build log here:The text was updated successfully, but these errors were encountered: