Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
TRENDING TODAY
Home > News > Webmaster > Internet Life

March 26th, 2012, 08:14 GMT · By

Firefox 14 Gets a Native PDF Viewer, Built with HTML5 and JavaScript (Screenshots)

SHARE:

Adjust text size:

The built-in PDF viewer in Firefox 14 running on Windows 8
Enlarge picture
Almost a year ago, a team from Mozilla started working on a pure JavaScript PDF renderer. The idea was to be able to view PDF files found online in the browser without relying on a third-party plugin. It started out as an extension, but now comes built into Firefox in the nightly builds.

The need for a "native" PDF viewer in Firefox, or in any other browser is obvious, even though they're not particularly web friendly, there are plenty of PDF files on the web.

To be able to view them, you either have to have a plugin, like Foxit Reader or Adobe Reader, installed, meaning a hit on performance, a possible instability source not to mention a possible security concern.

Or you have to download the PDF file and open it in a native app, which means several steps and unnecessary hassle.

A built-in PDF viewer that doesn't use up resources it doesn't have to and benefits from all the security features of the browser, is an obvious choice. The problem is, it's not that easy to build a PDF viewer and it's even harder to write it completely in JavaScript and HTML5, like Mozilla did.

Chrome also comes with a built-in PDF viewer, but it's essentially a Pepper plugin running inside Chrome. It's built by the Chrome team and it's based on the Pepper API so it comes with a solid sandbox, but it's still a plugin.

pdf.js may be an add-on, but since it's built entirely with web technologies, so it will run like any web app. In fact, since it's open source anyone can take the code and build it into their website or use in other apps, even other browsers.

pdf.js now comes bundled with Firefox 14, but it's been available as an add-on for a while now, which means you can install it on Firefox 11 and above.

Still, it's far from ready. It seems feature complete, all the navigational buttons are there, there's a page thumbnail or a chapter view on the left, and so on. Anti-aliasing doesn't work on all configurations, but that may not have to do with the add-on and more with the platform.

The built-in PDF viewer in Firefox 14 running on Windows 8
Enlarge picture
You'll notice the text isn't anti-aliased properly
Enlarge picture
Anti-alising works fine on Linux though
Enlarge picture
PDF.JS comes as a bundled add-on which you have to enable
Enlarge picture



5,344 hits
Link to this article · Print article · Send to friend

MUST-READ RELATED ARTICLES:


Flash Player 11.2 RC Boasts Background Updates, Better Hardware Acceleration

Adobe Drops Flash for Linux Except in Google Chrome

The FTC Tells Privacy Group to Mind Its Business in Lawsuit over Google Issue

Google Docs Can Now Search for Text Inside Images and Scanned PDFs

Google's Origami Doodle Celebrates Akira Yoshizawa, the Father of Modern Origami

READER COMMENTS:



No user comments yet.
Be the first to express your opinion!
Copyright © 2001-2013 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM