3 ms·
Very cool! Do you use the pdf standard form controls or is that too limited for this? My lawyer seem to have a really good system (probably white-labeled), but
by sly010 9y ago
Very cool! Do you use the pdf standard form controls or is that too limited for this?
My lawyer seem to have a really good system (probably white-labeled), but the pdf's it generates have issued with annotations. I have to print them using Acrobat otherwise checkboxes are sometimes missing and hidden annotations are visible.
- nathan_f77 9y agoI'm parsing the fields from PDF forms, but I don't use them in the generated PDFs. In the end it was just easier to output plain text, shapes, and checks, etc, instead of trying to work with AcroForms and XFA. (But if someone needs to generate a PDF that uses editable forms, then I can add support for that.) Your lawyer's system sounds interesting, and I can relate to those rendering issues. PDFs are incredibly complex - the PDF reference [1] has 1310 pages, and I've had to read a lot to understand things like fillable forms and transformation matrices. I ended up fixing a bug in a PDF library where all the PDFs from Google Chrome were flipped upside down - https://github.com/prawnpdf/prawn-templates/pull/20 https://github.com/prawnpdf/prawn-templates/pull/20 [1] http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdf...