Now that we're calling Ghostscript from print_to_pdf/2 (optionally, for multiple sources), we may as well benefit from it.
- Make the embedding of metadata pieces a separate logic in Ghostscript*
- While you're at it, refactor the
GhostscriptWorker/Interface/Impl mess
- Move the
info_option to pdf_option and add it as optional flag to print_to_pdf/2
- Mention in the docs that this requires ghostscript
- And writing the file to disk (mention this for the "join multiple sources" section as well)
Now that we're calling Ghostscript from
print_to_pdf/2(optionally, for multiple sources), we may as well benefit from it.GhostscriptWorker/Interface/Implmessinfo_optiontopdf_optionand add it as optional flag toprint_to_pdf/2