News for hackers. Stuff that matters.
Re:Firefox: Announcing Project Mortar by bluedino on Friday September 30, 2016 @05:01PM (#12615266)
While convienent, I can't see how anyone would want to use a browser-based PDF viewer over a native one.
Re:Firefox: Announcing Project Mortar by cptskippy on Friday September 30, 2016 @05:40PM (#12615424)
I got tired of constantly updating due to vulnerabilities. I haven't had a PDF viewer installed for years, I have PDFs open in Firefox.

I got tired of having Adobe Updater constantly running in the background (why not a scheduled task run periodically like Google Updater?!) and the need to update/reboot my PC regularly when a new version of Acrobat came out.

I switched PDF viewers briefly but ended in the same update cycles I was in with Adobe.

PDF.js isn't perfect but I've yet to come across a PDF that it couldn't open for me. I use it mainly to view things like insurance bills or other random documents where pixel perfect rendering is irrelevant.

Re:Firefox: Announcing Project Mortar by __david__ on Friday September 30, 2016 @10:58PM (#12616356)
Agreed. I use Firefox on OS X and I love pdf.js. I found it a huge hassle to get native PDF working on Firefox in the past, and with pdf.js I just don't have to worry about security. I've also not had much/any compatibility issues with pdfs. Bills, concert tickets, and specs all render acceptably. I will be very sad to see it go.
Re:Firefox: Announcing Project Mortar by dmix on Friday September 30, 2016 @05:54PM (#12615499)
This is why package managers are so important for any OS. They shouldn't be updating independently.
Re:Firefox: Announcing Project Mortar by Certhas on Saturday October 01, 2016 @07:53AM (#12617485)
As a scientist, pdf.js is simply not capable enough for any serious work with pdf.

I would love to do as you say, and read pdfs in the browser only. From what I have learned in the context of this discussion, switching away from pdf.js will contribute to enabling that.

Re:Firefox: Announcing Project Mortar by chrismonsanto on Saturday October 01, 2016 @03:02PM (#12619363)
> As a scientist, pdf.js is simply not capable enough for any serious work with pdf.

As a counterpoint, I regularly read (CS) research papers in pdf.js and have never had any trouble. One of the reasons I stuck with Firefox is the superior Zotero integration.

Re:Firefox: Announcing Project Mortar by Certhas on Monday October 03, 2016 @05:57AM (#12626254)
Hmmm... pure math papers are often fine but I used to still see misformatted math relatively frequently, maybe I should give it another try.
Re:Firefox: Announcing Project Mortar by tigershark on Saturday October 01, 2016 @06:26AM (#12617287)
Nonsense. On windows I have used foxit for a long time and I never had all that shit that you are talking about. On Mac if anyone told me that they used happily a JavaScript PDF viewer instead of the built in viewer I would seriously worry for their mental health.
Re:Firefox: Announcing Project Mortar by morsch on Friday September 30, 2016 @05:15PM (#12615331)
The only time I ever start a native PDF viewer is when I need to actually print it. Apart from those rare cases, to me a PDF is a web page, just worse, and I want it to live where all the web pages live on my computer, in a browser tab, with all the facilities the browser provides (history, tree style tabs, frictionless access to Google, etc etc).

I'm sure ymmv depending on what kind of PDFs you use and how often; I'm on the lower end.

Re:Firefox: Announcing Project Mortar by lalalander on Friday September 30, 2016 @05:47PM (#12615459)
I might be in the minority, but I really dislike reading PDFs on OS X's Preview while using the touchpad because of accidental horizontal scrolling. I do not understand why Apple decided to make the "rubberband" effect when clearly there's nothing to scroll on the left and right sides of the PDF. If anyone has a solution to prevent horizontal scrolling on OS X applications (Safari, Preview etc), please do share.
Re:Firefox: Announcing Project Mortar by jhatax on Sunday October 02, 2016 @12:04PM (#12622925)
Try this: Preview -> View -> Continuous Scroll.

It did the trick for me on macOS Sierra.

YMMV

Re:Firefox: Announcing Project Mortar by lalalander on Monday October 03, 2016 @01:44PM (#12629606)
I'll give this a try when I finally upgrade to Sierra. Thanks!
Re:Firefox: Announcing Project Mortar by scrollaway on Friday September 30, 2016 @05:08PM (#12615308)
Convenience is exactly it.

Have to admit I find it pretty damn useful myself, even though I believe PDFs to be completely out of scope of a web browser.

I really wish the format would disappear. Everybody says it's useful at being a "perfect digital representation of what things look like on paper", which is certainly super useful for printing. But I cannot understand how so much information that should simply be distributed in either HTML (forms), epub (ebooks) or jpg/png (scans and digital images) is distributed over PDF, a pain-in-the-arse, overengineered format whose readers are always extremely slow and riddled with security issues and from which it's extremely hard to extract source data.

Re:Firefox: Announcing Project Mortar by Sanddancer on Friday September 30, 2016 @09:08PM (#12616117)
There are a number of places where PDF has advantages that HTML, etc can't match. For forms, the PDF spec has electronic signatures, which means that you can sign legal documents without having to find a fax machine, or mail things back and forth. For print documents, it can do things like multiple column text in a sensible manner, across page breaks. As a general document format, it allows you to actually describe paper sizes, etc, so you can email someone a document that looks like it will when it's finalized. For archival, it means you can, without a bunch of hacks, create searchable documents of old, scanned in content. So things like electronics datasheets are searchable, and still retain the formatting of the originals. PDF continues to exist because there are so very many places that the alternatives are an even bigger pain in the ass, fix those, and then you can start to get rid of pdf.
Re:Firefox: Announcing Project Mortar by gkya on Saturday October 01, 2016 @03:55AM (#12616966)
Would postscript classify as an "even bigger pain in the ass" with regards to pdf?
Re:Firefox: Announcing Project Mortar by scrollaway on Saturday October 01, 2016 @01:40AM (#12616646)
All sensible uses of PDF (except your first one; electronic signatures are ridiculous, but let's not get into that).

I'm talking about where pdf is used and shouldn't be.