dungeon-sheets
dungeon-sheets copied to clipboard
Switch pdfrw to pypdf
This PR has three patches that improve pdf handling in the absence of pdftk. This lays some further groundwork for getting rid of pdftk in the future, and it gets rid of pdfrw now.
The first patch adds fallback merging separate pdfs with pypdf. The second patch moves fallback pdf filling code from pdfrw to pypdf. The last patch silences a (harmless) warning from the fillable personality sheet.
The pdfrw code for filling a pdf form contained a bug as well, which is fixed with this PR.