So I've been writing a Rust program to replace a Python program to spread the gospel of Rust to my local community.
I've hit a roadblock however, that is that the original program produces an interactive PDF (a PDF with editable form fields basically) with some of the fields prefilled based on input from the user.
I've seen various PDF creation/manipulation library offerings on crates.io, but none of them explicitly appear to offer interactive/forms support.
So I had a couple ideas:
- I could take an existing PDF form template file, and somehow figure out my way into somehow inserting text into the fields, and writing the file back out. This could be easier then pure creation from scratch. (Any guidance?)
- investigate a C/C++ library that can do this, write a C/C++ program that does this, somehow statically link it to my Rust program and just call it from within Rust
What do you think I should do here? Bare in mind, I'm not the most advanced hacker/programmer who ever lived.