I'm following the documentation to generate a PDF with signature in real time, but it's generating this error in the title, I checked the library and the error is generated in the endAcroForm() function, but I couldn't identify where I have to indicate this "fonts" property
const pdf = new PDFDocument({
autoFirstPage: false,
size: 'A4',
layout: 'portrait',
bufferPages: true,
});
pdf.info.CreationDate = new Date();
I'm following the documentation to generate a PDF with signature in real time, but it's generating this error in the title, I checked the library and the error is generated in the endAcroForm() function, but I couldn't identify where I have to indicate this "fonts" property
const pdf = new PDFDocument({ autoFirstPage: false, size: 'A4', layout: 'portrait', bufferPages: true, }); pdf.info.CreationDate = new Date();