react-doc-viewer
react-doc-viewer copied to clipboard
fix: Fixing issue with unknown chars breaking pages
We're having an issue with a few PDFs causing "Aw Snap, something went wrong..." on Google Chrome. It's been related to not having CMAPS properly configured for react-pdf.
This PR fixes it (and brings it on demand from CDN, the same way the worker works)