m32/endesive

adding empty signature field

userJay opened this issue · 3 comments

Hello M32,
I really like your projekt. I don‘t have a real issue just a silly question.

If I see it right your blank_form.pdf is made with reportlab.
Can you tell me how you did it? I could not find it.

Thanks a lot in advance!

Jay

m32 commented

Ask the author, I have no idea how it's done.
@seneca-c

It was done using by directly operating on the canvas from reportlab.pdfgen. One of the members of the canvas is acroForm, which comes with support for some of the PDF form field types. Signature lines are unsupported.

This particular form relied upon both the normal textfield method of canvas and a special function to add the blank signature field. The signature field was generated by some test code that was heavily inspired by reportlab.pdfbase.acroform._textfield (note the underscore, this is the method that ReportLab uses internally to generate all their supported form fields), aided by having a copy of the PDF specs handy.

Hi

Isn´t there a way to create the Signature lines with FPDF?

Thanks