I am seeing the below error when I add the attached doc definition.
error_doc_definition.txt
pdfmake.js:3180 Uncaught Error: unsupported number: 57.0625*210
at o.number (pdfmake.js:3180)
at c.lineTo (pdfmake.js:24913)
at w (pdfmake.js:13555)
at pdfmake.js:13409
at g.createPdfKitDocument (pdfmake.js:13197)
at l._createDoc (pdfmake.js:12709)
at l.getBuffer (pdfmake.js:12847)
at l.getDataUrl (pdfmake.js:12827)
at generate (playground.html:124)
at playground.html:114

Some of my findings are :
I am unable to find if there is maximum size that I am overflowing by adding new lines or any other issue. In my application, I have data which contains many paragraphs with new lines and I keep hitting this error when my data size grows.
Appreciate your help in this.
heights does not support *, instead of heights: ['*', 100], use heights: ['auto', 100],.
Most helpful comment
heightsdoes not support*, instead ofheights: ['*', 100],useheights: ['auto', 100],.