Applying the fix found in https://github.com/mozilla/pdf.js/issues/13771 to add an allow list of properties of the font so as to avoid any unexpected properties that are added by browser implementations which interfere with the ability to clone objects from the main thread to web workers.
The PDFjs is v2.2.228 copied from the 2.16.0 folder and changes are localized to pdf.worker.js and pdf.worker.min.js
Applying the fix found in https://github.com/mozilla/pdf.js/issues/13771 to add an allow list of properties of the font so as to avoid any unexpected properties that are added by browser implementations which interfere with the ability to clone objects from the main thread to web workers.
The PDFjs is v2.2.228 copied from the 2.16.0 folder and changes are localized to pdf.worker.js and pdf.worker.min.js
TODO