Breaking News

ASUS Republic of Gamers Announces Availability of Swift OLED PG27AQWP-W and Strix OLED XG27AQWMG ASUS Announces Prime AP303 Compact Mid-Tower ATX Case Canon launches versatile EOS R6 Mark III and innovative RF 45mm F1.2 STM lens uHoo Launches Caeli – The Smart Air Quality Monitor DJI Introduces Osmo Mobile 8 with Intelligent Subject Tracking

logo

  • Share Us
    • Facebook
    • Twitter
  • Home
  • Home
  • News
  • Reviews
  • Essays
  • Forum
  • Legacy
  • About
    • Submit News

    • Contact Us
    • Privacy

    • Promotion
    • Advertise

    • RSS Feed
    • Site Map

Search form

Mozilla Updates HTML5-based PDF Renderer

Mozilla Updates HTML5-based PDF Renderer

Enterprise & IT Jul 5,2011 0

Mozilla has just released a new version of the pdf.js, an HTML5-based PDF renderer that displays PDFs directly in the browser. The latest version of the software, which was firslty released by Mozilla's developers a couple of weeks ago, is loading Type 1 fonts, in what the developers described as a very challenging task.

In addition, pdf.js version 0.2 is loading TrueType fonts properly, the shadows under the rounded boxes are masked images, and the dashed lines are drawn using a new API developers have added to Firefox's canvas.

And last but not least, the user interface in version 0.2 is much more usable and than in the initial version.

Displaying PDFs directly in the browser would definitely improve the user's experience. There are literally millions of PDFs floating around the web, and on many devices loading PDFs switches to a different application (e.g. Preview on OS X and PDF View on Android). Also, external PDF readers and many plugins don?t support important PDF features well, including content links and fetch-as-you-go (HTTP range requests).

External readers and plugins are also forced to reinvent their own user interaction paradigms, meaning for example that users might scroll HTML pages in one way with one set of heuristics in the browser, but a totally different way in an external PDF reader.

The traditional approach to rendering PDFs in a browser is to use a native-code plugin, either Adobe's own PDF Reader or other commercial renderers, or some open source alternative (e.g. poppler). From a security perspective, this enlarges the trusted code base, and because of that Google's Chrome browser goes through quite some pain to sandbox the PDF renderer to avoid code injection attacks. An HTML5-based implementation is completely immune to this class of problems.

Mozilla intends to use pdf.js to render PDFs "natively", within Firefox itself and make it compatible with all HTML5-compliant browsers.

"We want to prove that a competitive HTML5 PDF renderer really is feasible, and not just fun talk. Many more hard problems remain, but we haven?t come across any so far that are so much harder than what we?ve already solved to make us rethink the viability of pdf.js,"

For the next release, Mozilla has two big goals: first is to continue adding features needed to render PDFs. The next target is a bit more ambitious: pixel-perfect rendering of the PDF 1.7 specification itself. Work has already begun on this, during the stabilization period for the 0.2 release. Second is to improve pdf.js's architecture. This itself has two parts: use Web Workers to parallelize computationally-intensive tasks, and allow pdf.js's main-thread computations to be interrupted to improve UI responsiveness.

For more information, read Chris Jones' blog post here.

Tags: MozillaHTML5
Previous Post
New ECMA Wireless Standard For Short-range Connectivity Operates At A Data Rate of 560 Mbps
Next Post
Update For Pioneer's DDJ-T1 Controller Supports Latest TRAKTOR DJ Software

Related Posts

  • Scroll Partners With Firefox to Build a Better Internet

  • Firefox Brings DNS Over HTTPS by Default for US Users

  • Thunderbird Gets a New Home

  • Mozilla Lays off 70 Employees

  • Mozilla, Intel, Red Hat and Fastly Plan to Take WebAssembly Beyond the Browser

  • Firefox to Limit Notification Prompts While Browsing

  • Mozilla is Asking Congress to Examine the Data Practices of ISPs

  • Mozilla Talks About $5 Ad-free Subscription Plan

Latest News

ASUS Republic of Gamers Announces Availability of Swift OLED PG27AQWP-W and Strix OLED XG27AQWMG
Gaming

ASUS Republic of Gamers Announces Availability of Swift OLED PG27AQWP-W and Strix OLED XG27AQWMG

ASUS Announces Prime AP303 Compact Mid-Tower ATX Case
Cooling Systems

ASUS Announces Prime AP303 Compact Mid-Tower ATX Case

Canon launches versatile EOS R6 Mark III and innovative RF 45mm F1.2 STM lens
Cameras

Canon launches versatile EOS R6 Mark III and innovative RF 45mm F1.2 STM lens

uHoo Launches Caeli – The Smart Air Quality Monitor
Consumer Electronics

uHoo Launches Caeli – The Smart Air Quality Monitor

DJI Introduces Osmo Mobile 8 with Intelligent Subject Tracking
Drones

DJI Introduces Osmo Mobile 8 with Intelligent Subject Tracking

Popular Reviews

be quiet! Dark Mount Keyboard

be quiet! Dark Mount Keyboard

Terramaster F8-SSD

Terramaster F8-SSD

be quiet! Light Mount Keyboard

be quiet! Light Mount Keyboard

Soundpeats Pop Clip

Soundpeats Pop Clip

Akaso 360 Action camera

Akaso 360 Action camera

Dragon Touch Digital Calendar

Dragon Touch Digital Calendar

Noctua NF-A12x25 G2 fans

Noctua NF-A12x25 G2 fans

be quiet! Pure Loop 3 280mm

be quiet! Pure Loop 3 280mm

Main menu

  • Home
  • News
  • Reviews
  • Essays
  • Forum
  • Legacy
  • About
    • Submit News

    • Contact Us
    • Privacy

    • Promotion
    • Advertise

    • RSS Feed
    • Site Map
  • About
  • Privacy
  • Contact Us
  • Promotional Opportunities @ CdrInfo.com
  • Advertise on out site
  • Submit your News to our site
  • RSS Feed