News for hackers. Stuff that matters.
Re:Pdf.js: PDF Reader in JavaScript by Swizec on Friday September 14, 2012 @04:09AM (#4520683)
A few months after this was first shown on HN Chrome started shipping with a built-in pdf reader that looks exactly the same on both MacOS and Linux.

I always assumed it was pdf.js

Re:Pdf.js: PDF Reader in JavaScript by fafner on Friday September 14, 2012 @04:53AM (#4520800)
No, Chrome has its own binary plugin. IIRC it is closed source and not available in Chromium.

Pdf.js is developed by Mozilla and now shipped with Firefox and it works quite well so far.

Re:Pdf.js: PDF Reader in JavaScript by esolyt on Friday September 14, 2012 @05:26AM (#4520878)
That's correct. I use Chromium on Arch Linux and it doesn't come with the proprietary pdf reader by default.
Re:Pdf.js: PDF Reader in JavaScript by mcrittenden on Friday September 14, 2012 @11:35AM (#4522179)
You said "by default" which is correct but just for the sake of completeness, the built in Chrome PDF reader can easily be added to Chromium on Arch using this package from the AUR: https://aur.archlinux.org/packages.php?ID=44148

I've been using it for almost a year now without issue.

Re:Pdf.js: PDF Reader in JavaScript by esolyt on Sunday September 16, 2012 @04:49PM (#4530304)
Me too! In fact, that's why I said "by default" :)

Similarly, Pepper Flash Player can also be integrated from AUR.

Re:Pdf.js: PDF Reader in JavaScript by hey_lu on Friday September 14, 2012 @06:28AM (#4520996)
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.)

Re:Pdf.js: PDF Reader in JavaScript by esolyt on Friday September 14, 2012 @06:45AM (#4521038)
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 by knowtheory on Friday September 14, 2012 @05:41AM (#4520906)
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... )

Re:Pdf.js: PDF Reader in JavaScript by cygal on Friday September 14, 2012 @06:09AM (#4520958)
This is not a PDF reader but a graphics library.
Re:Pdf.js: PDF Reader in JavaScript by knowtheory on Friday September 14, 2012 @06:41AM (#4521029)
Re:Pdf.js: PDF Reader in JavaScript by alexlarsson on Friday September 14, 2012 @08:21AM (#4521257)
That code is for drawing to a pdf.
Re:Pdf.js: PDF Reader in JavaScript by wlesieutre on Friday September 14, 2012 @04:18AM (#4520709)
I believe Chrome's pdf plugin is based on Foxit