also @ TechSpot: Toshiba abandons netbook market in US, focuses on Ultrabooks instead

Mozilla wants Firefox to render PDFs with HTML5, JavaScript

By

On June 17, 2011, 2:42 AM EST

Currently, browsers rely on plug-ins to display PDF files, like Adobe Reader or Foxit Reader. This may soon change, as there is a Firefox project in the works to build a PDF reader in HTML5 and JavaScript. A PDF reader needs to be fast at operations like rendering text, drawing lines, blitting images – all the things that browsers need to be fast at too. In other words, browser are already optimized for the task at hand, they just need to be told how to do it.

The project is called pdf.js and is available for everyone to see on GitHub. It has been in development for about a month now, but there's already an early demo available at people.mozilla.org/~gal/test.html that you can check out for yourself. There are still glitches and rendering artifacts, but it's definitely a good start, especially for four weeks of work.

The first order of business is to get pdf.js to render PDFs "natively" in Firefox itself, and the team believes it can get the most commonly used PDF features working in less than three months. The group will start by making a Firefox extension available to interested users that enables inline PDF rendering using pdf.js.

The next step will be to ship pdf.js with Firefox. The team hopes this will result in a substantial usability and security improvement for Mozilla's users since pdf.js uses only safe web languages and doesn't contain any native code pieces attackers could exploit.

Last but not least, pdf.js will hopefully turn into a community driven and governed open-source project. It will be used in Firefox, but hopefully it will also be ported to other browser and opened up for use in other applications. The project pdf.js is being licensed under a very liberal 3-clause BSD license and external contributors are welcome to join.

"It's important to note that we're not trying to promote PDF to a first-class web citizen like HTML5 is," Andreas Gal writes in a statement. "Instead we hope that a browser-native PDF renderer written on the web platform allows web technologies to subsume PDF."

, , , , ,

User Comments (2)

Post a comment
PinothyJ
on June 19, 2011
7:12 PM

Sounds like good work?

Reply

Guest
on June 24, 2011
9:27 PM

Adobe want $39 for customer support of their Shock Wave Flash - Hurrah for Mozilla !!

Reply

Browse more commented news

Post a new comment

Guest user

To post as an anonymous
user click here
.

Members

If you are a TechSpot member,
please login first.


By signing up you gain complete access to the TechSpot community. Join thousands of computer and technology enthusiasts that contribute and share knowledge in our forum. Post messages, get a private inbox, upload your own photo gallery and more.

Subscribe to TechSpot

Get free exclusive content, learn about new features and tech breaking news.