Live data from Hacker News

Firefox introduces PDF viewer

blog.mozilla.org

11–20 of 200 posts

Re: Firefox introduces PDF viewer

#13
post #9

It's worth pointing out this is done in pure Javascript , and works by compiling PDF functions to equivalent Javascript functions which are then visible to Firefox's JIT. Despite being only around a year old, it still manages to render the majority of PDFs thrown at it (it's been my primary paper reader for the past 6 months or so). As for missing features like some complex gradients, I can't say I've missed them, ex…

Please take your time machine and go release PDF.js in early 2010. With good performance on the hardware and Javascript VMs of early 2010. Then I'll grant you the criticism of Chrome's PDF viewer. Otherwise, trolling... fact is, Chrome is the browser that liberated the world from Acrobat Reader. PDF.js is awesome and it may be the way to go, but as of today Chrome's viewer is still much better -- please try http://www.irs.gov/pub/irs-pdf/fw4.pdf in both browsers and tell me which one is sluggish and renders so-so, and which renders/scrolls instantly and perfectly and also allows you to actually fill the form.

Re: Firefox introduces PDF viewer

#14
I've been using it for about a month. It's my default PDF viewer, on my desktop - though sometimes it has choked on a file, and search has been an issue on large files.

Generally though, it's a good solution that doesn't require dealing with Adobe updates all the time.

Re: Firefox introduces PDF viewer

#16
post #13
post #9

It's worth pointing out this is done in pure Javascript , and works by compiling PDF functions to equivalent Javascript functions which are then visible to Firefox's JIT. Despite being only around a year old, it still manages to render the majority of PDFs thrown at it (it's been my primary paper reader for the past 6 months or so). As for missing features like some complex gradients, I can't say I've missed them, ex…

Please take your time machine and go release PDF.js in early 2010. With good performance on the hardware and Javascript VMs of early 2010. Then I'll grant you the criticism of Chrome's PDF viewer. Otherwise, trolling... fact is, Chrome is the browser that liberated the world from Acrobat Reader. PDF.js is awesome and it may be the way to go, but as of today Chrome's viewer is still much better -- please try http://ww…

They both display about the same (nothing a casual glance could reveal). Firefox took ~ 1 second, while Chrome was slightly faster My setup is FF 19.0 and Chrome 24 on Win7 with 8Gb Ram and 3.1GHz processor.

Re: Firefox introduces PDF viewer

#17

It fails with the 4th google hit for "sample pdf": http://www.inkwelleditorial.com/pdfSample.pdf (The main difference I see with Firefox 19 on win7 is that it loads pages significantly faster.)

Thanks for mentioning this problem. I filed a bug for this issue: https://bugzil.la/843220

Re: Firefox introduces PDF viewer

#18
post #13
post #9

It's worth pointing out this is done in pure Javascript , and works by compiling PDF functions to equivalent Javascript functions which are then visible to Firefox's JIT. Despite being only around a year old, it still manages to render the majority of PDFs thrown at it (it's been my primary paper reader for the past 6 months or so). As for missing features like some complex gradients, I can't say I've missed them, ex…

Please take your time machine and go release PDF.js in early 2010. With good performance on the hardware and Javascript VMs of early 2010. Then I'll grant you the criticism of Chrome's PDF viewer. Otherwise, trolling... fact is, Chrome is the browser that liberated the world from Acrobat Reader. PDF.js is awesome and it may be the way to go, but as of today Chrome's viewer is still much better -- please try http://ww…

On average, I might need to fill out a PDF once or twice a year. Otherwise rendering for either one is perfectly fine for me.

Re: Firefox introduces PDF viewer

#19
post #15

It fails with the 4th google hit for "sample pdf": http://www.inkwelleditorial.com/pdfSample.pdf (The main difference I see with Firefox 19 on win7 is that it loads pages significantly faster.)

Seems to render fine for me in FF20 on W7: http://i.imgur.com/G5PPEbN.jpg

[deleted]

Re: Firefox introduces PDF viewer

#20
Thanks for doing this, but it is not working well for me! It takes way longer to load than a normal PDF viewer, is slow, and basically I gave up and closed it when pages were still black, or white, with a rotating loading indicator, minutes after a regular PDF viewer already showed it. This in Linux.

Thanks!

Post reply on HN