vbuch / node-signpdf

Simple signing of PDFs in node.
MIT License
719 stars 178 forks source link

Error: pdfkitAddPlaceholder is not defined #85

Closed erickximenes closed 4 years ago

erickximenes commented 4 years ago

Captura de Tela (9) Captura de Tela (10)

ifuschini commented 4 years ago

try something of this:

import pdfkitAddPlaceholder from 'node-signpdf/dist/helpers/pdfkitAddPlaceholder';

erickximenes commented 4 years ago

tente algo disso:

importar pdfkitAddPlaceholder de 'node-signpdf / dist / helpers / pdfkitAddPlaceholder';

I changed the code and am running it on adonisJs. I changed the code, made it generate the PDF with the space for signature so that later you can sign the PDF. An error appears saying that fonts are undefined.

Captura de Tela (7) Captura de Tela (8) Captura de Tela (9)