pmaupin / pdfrw

pdfrw is a pure Python library that reads and writes PDFs
Other
1.87k stars 272 forks source link

problem of rendering a template file #132

Open ppLorins opened 6 years ago

ppLorins commented 6 years ago

Hi all: I'm seeking for a solution of how to populate a pdf template file and finally found one which using pdfrw .That example is quite simple and straightforward by using adobe acrobat as template editing tool and python dict as a render way.

I'm using python3.6 and Adobe Acrobat Pro DC 2018.011.20038 on windows7 platform

This is my gist file and the sample tempalte file can be downloaded here

But it has its own problems with the result pdf file:

PeterSlezak commented 5 years ago

It's old post but if you're interested see my comment on #84. I've used you're sampe template pdf file to populate first text field. It can fix the first issue.