Live data from Hacker News

Pdf.js: PDF Reader in JavaScript

mozilla.github.com

31–40 of 94 posts

Re: Pdf.js: PDF Reader in JavaScript

#31
post #27

Earlier quoted context omitted.

I believe all the other replies to your comment to be incorrect. Both Chrome and Android use the skia ( http://code.google.com/p/skia/ ) library as far as i am aware (see http://code.google.com/searchframe#OAMlx_jo-ck/src/third_par... )

This is not a PDF reader but a graphics library.

My understanding is that it reads PDFs: http://code.google.com/p/skia/source/browse/trunk/include/pd...

Re: Pdf.js: PDF Reader in JavaScript

#32
post #29
post #22

Earlier quoted context omitted.

That's correct. I use Chromium on Arch Linux and it doesn't come with the proprietary pdf reader by default.

There is also a Google Chrome/Chromium extension also provided by the pdf.js team. (It's not in the webstore, though.) I've used it since about half a year and I like it a lot. (Not having to download PDFs all the time and having PDFs in tabs alongside the sites I read.)

I agree. Separate windows for PDFs is terrible.

You can also separately download the proprietary PDF reader of Chrome and use it with Chromium. If you are using Arch Linux, it is available in the repositories.

Re: Pdf.js: PDF Reader in JavaScript

#33
post #24

Earlier quoted context omitted.

It is included, but off in release versions at the moment. In about:config : name: pdfjs.disabled status: default type: boolean value: false

I'm no usability expert, but to me it would make more sense to name that parameter "pdfjs.enabled" true/false

about:config isn't really optimized for usability and there's some advantage to the double negative in that the absence of a value could be treated as a false boolean value.

So if at one point pdfjs should be enabled by default, they can just get rid of the preference in the default preferences file altogether instead of having to ship one where it says enabled: true (because absence of the value would be treated as false)

Re: Pdf.js: PDF Reader in JavaScript

#35
post #3

1) From a technical perspective, this is damn cool - exceedingly well done. Color me very impressed. 2) I hope I never actually see anyone using this on a website, attempting to make things "easier." Between Scribd and Slideshare, and Adobe trying to force its hideous crash-prone plugins into my browser, there are already enough people making a mess out of what is one of the more well-thought-out aspects of OS X. Giv…

I found Preview.app always annoying. E.g., the maximize windows button not maximizing the window. Sure it is better than Adobe Reader. But there are quite a few very nice alternative PDF viewers better than it. And pdf.js is great as a browser plugin because opening PDFs won't disturb your browsing any more.

Re: Pdf.js: PDF Reader in JavaScript

#36

i've stumbled upon PDF.js a while ago because i was looking for js tool that allows me to extract data from pdfs... sadly i'm still looking for a good lib to do just that.

iText has a lot of tools for extracting info from PDFs. We use it extensively.

Re: Pdf.js: PDF Reader in JavaScript

#38
post #21

This is super cool. While I can't imagine myself using it anytime soon, it's clear that web applications are improving at a far faster rate then native applications and, with t large enough, the first derivative means that web will eclipse native. This seems like an academic exercise at the moment; it's to prove that you can replicate a native experience only. However, it seems that this could be vastly improved by p…

GroupDocs currently provide an app for online annotation and collaboration, including accessing your files from different cloud storage providers, currently Azure & Amazon S3 are supported http://groupdocs.com/apps/annotation/try-it-now

Re: Pdf.js: PDF Reader in JavaScript

#40

i've stumbled upon PDF.js a while ago because i was looking for js tool that allows me to extract data from pdfs... sadly i'm still looking for a good lib to do just that.

If your looking for a web based API for manipulating PDF's, SaaSpose provide a commercially supported solution
Post reply on HN