An rgbBuffer was created which was three times as big as intended. It also caused that the function was very slow when rendering cable.pdf. Which led to a slow script warning dialog. With this fix the function speeds up fifteen-fold in the firebug profile.
pdf.js
pdf.js is a technology demonstrator prototype to explore whether the HTML5 platform is complete enough to faithfully and efficiently render the ISO 32000-1:2008 Portable Document Format (PDF) without native code assistance.
pdf.js is not currently part of the Mozilla project, and there is no plan yet to integrate it into Firefox. We will explore that possibility once pdf.js is production ready. Until then we aim to publish a Firefox PDF reader extension powered by pdf.js.
Our demo site is here:
http://andreasgal.github.com/pdf.js/
You can read more about pdf.js here:
http://andreasgal.com/2011/06/15/pdf-js/
http://blog.mozilla.com/cjones/2011/06/15/overview-of-pdf-js-guts/
follow us on twitter: @pdfjs
join our mailing list:
and talk to us on IRC:
#pdfjs on irc.mozilla.org