Skip to content
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

Replace dpx_pdfobj.rs with lopdf crate #73

Open
cormacrelf opened this issue Sep 17, 2019 · 1 comment
Open

Replace dpx_pdfobj.rs with lopdf crate #73

cormacrelf opened this issue Sep 17, 2019 · 1 comment

Comments

@cormacrelf
Copy link
Collaborator

cormacrelf commented Sep 17, 2019

It's a perfectly matched replacement for that 4.8kLOC file.

https://lib.rs/crates/lopdf

There's also https://github.com/fschutt/printpdf (which uses lopdf), which does a lot of what dpx does already, but I'm guessing it'll be a bit difficult to integrate. Might be a target to work towards -- maybe emulating printpdf's approach to some things would help craft PRs against printpdf that would eventually bring it up to feature parity with dpx's PDF writing support.

printpdf has a pretty good wiki on how PDF documents are created, may be useful.

You can also probably replace dpx_pdfparse.rs and a few other things.

@XVilka
Copy link

XVilka commented Sep 18, 2019

Sounds like a good idea!

This was referenced Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants