fix for pdf.js issue where some .pdfs don't display properly

For those using what is currently in develop with pdf.js - On my site I have many .pdfs of saved from Australia's Trove. They were generated using iText, and I noticed with a recent update with Chrome, the .pdfs are not loading correctly. . The fix is mentioned here with the

var widths = [];


var widths = Object.create(null);

Also upgrading pdf.js will resolve the issue as well.


Sign In or Register to comment.