pdfmake icon indicating copy to clipboard operation
pdfmake copied to clipboard

Add support for acroforms

Open Heston1 opened this issue 3 years ago • 15 comments
trafficstars

A feature implementing AcroForms since its supported in the underlying library PDFKit although there is no direct support for checkboxes and radio buttons because it was removed in PDFKit but I've decided to implement it here. download.pdf

Heston1 avatar Dec 21 '21 13:12 Heston1

Files src/pdf-kit-extensions/PDFEmbeddedFont.js and src/pdf-kit-extensions/StandardFonts.js in pdfmake are they needed for what?

Checkboxes and radios support in src/pdf-kit-extensions/ExtendedAcroFormMixin.js will be better first implemented in pdfkit.

liborm85 avatar Dec 27 '21 14:12 liborm85

PDFEmbeddedFont.js is a workaround to embed the entire font, pdfkit doesn't have an option to do this that's why there is this issue https://github.com/foliojs/pdfkit/issues/1096, in adobe acrobat it defaults to another OpenType font if the glyph is not included I think to something like myriadpro, whereas with chrome you only see the glyphs included in that subset font only, atm im using this for something but I will try to get checkboxes and radio forms, and this issue in pdfkit and get back to this when its in.

Heston1 avatar Dec 27 '21 17:12 Heston1

https://github.com/foliojs/pdfkit/issues/1096 require fix in pdfkit (not in pdfmake).

liborm85 avatar Dec 28 '21 09:12 liborm85

@Heston1 Great work, a layout for forms is exactly what need ❤. I will try to use it as fast as possible. Maybe you should also include your features in the features list in the readme.md?

reinerBa avatar Feb 09 '22 10:02 reinerBa

hi, any news on this pr ?

PandaaAgency avatar May 04 '22 14:05 PandaaAgency

Please merge the PR, i'm using it with success.

reinerBa avatar May 06 '22 08:05 reinerBa

@reinerBa can you please resolve conflicts?

@liborm85 @bpampuch do you approve this feature to be added to PDFMake?

techquestions avatar May 06 '22 08:05 techquestions

@techquestions Sorry but i haven't written any Code in here and i see no conflicts. I did just build the fork of Heston1 for my purpose.

reinerBa avatar May 13 '22 08:05 reinerBa

Utter heros in here.

I'm seriously considering using an unmerged PR... based on an alpha not-for-production version... of a lightly-maintained project... in production.

kylecordes avatar Jun 01 '22 18:06 kylecordes

Is there any progress on this? Will this be merged at some point or not at all?

majid701 avatar Dec 28 '22 15:12 majid701

Is there any progress now ? Still waiting for this feature - does it ever get merged ?

p-arndt avatar Mar 16 '23 08:03 p-arndt

Any update on this?

Torres1080 avatar Apr 16 '23 11:04 Torres1080

Has there been any progress on this lately?

becca-frick avatar Aug 25 '23 13:08 becca-frick

Any updates on this?

shami-bhumio avatar Jan 14 '24 18:01 shami-bhumio