|Written by Ian Elliot|
|Friday, 17 June 2011|
The project has been quietly generating code on github for about a month but now feels that it has reached a point where the world should take a look - pdf.js. As you might expect it is open source.
The team claims that its intention is not to elevate PDF to a first class document format but to integrate it into HTML as just another display format. At the moment to display a PDF you have to write some code that loads the file and calls a function to render it:
pdfDocument = new PDFDoc(new Stream(data));
You also need to add some buttons to move to different pages but apart from this the result is a standard HTML page and so can be navigated and printed using the browser controls - i.e. no custom, and possibly confusing, plug-in controls.
At the moment the team is attempting to render just one target document at the pixel perfect level. You can see their progress - which is impressive - at 2009 paper rendered using pdf.js which you can compare to the original at 2009 paper rendered using a plugin.
|Last Updated ( Friday, 17 June 2011 )|