Slashdot Mirror


Pdf.js Reaches First Milestone

theweatherelectric writes "The pdf.js project aims to implement a PDF viewer using standards-compliant Web technologies. The project has reached its first milestone: it renders the sample PDF (a paper on Mozilla's Tracemonkey JavaScript engine) perfectly. However, that perfection currently comes with some caveats: 'pdf.js produces different results on pretty much every element in the browser×OS matrix. We said above that pdf.js renders the Tracemonkey paper "perfectly" if you're running a Firefox nightly. On a Windows 7 machine where Firefox can use Direct2D and DirectWrite. If you ignore what appears to be a bug in DirectWrite's font hinting. The paper is rendered less well on other platforms and in older Firefoxen, and even worse in other browsers. But such is life on the bleeding edge of the web platform.'"

5 of 164 comments (clear)

  1. Re:Not impressive... by Anonymous Coward · · Score: 1, Informative

    Goatse

  2. Re:Can it be closed? by headbulb · · Score: 3, Informative

    I have it disabled since it's buggy and it's a huge security risk.

  3. Re:What's the point? by paimin · · Score: 1, Informative

    Bzzzzt! iOS handles viewing and saving PDF's fine. Thank you for playing "I Bashed Apple on Slashdot". Try again.

    --
    Facebook is the new AOL
  4. Fun fact: by giuseppemag · · Score: 4, Informative

    I can render a PDF perfectly on all OSes I own (Windows, OS X, iOS, Windows Phone 7) already!

    --
    My book: Friendly F#, fun with game development and XNA; my game: Galaxy Wars by VSTeam; my gamedev language: Casanova.
  5. Re:Wow by PybusJ · · Score: 4, Informative

    Or perhaps you've failed to grasp the point of a v0.2 pre-release on github? In fact TFA specifically states that pixel perfect rendering _is_ their goal.

    The blog post describes the current progress; it now has good rendering on one platform, progress from last week.