TypeError causes pdfjs-express to crash when loading certain pdf files… does not seem to be an issue in PDFTron. Please advise. Replicated using PDF.js Viewer Demo | PDF.js Express and loading pdf file. Screenshot and pdf file attached.
PDFJSDocumentType.js:99 TypeError: Cannot read property ‘includes’ of undefined
at new Glyph (PDFJSDocumentType.js:2248)
at PDFJSDocumentType.js:2242
at Array.map ()
at Line.value (PDFJSDocumentType.js:2242)
at webpack_exports._parseTextData (PDFJSDocumentType.js:2299)
at PDFJSDocumentType.js:2279
at PDFJSDocumentType.js:2302
We don’t really have a fixed schedule. We try to release a minor version once every month or two, and we push patches as needed. Once the fix has gone through code review and gets merged, I’ll push the patch.