News for hackers. Stuff that matters.
Re:Firefox introduces PDF viewer by jpxxx on Wednesday February 20, 2013 @01:50PM (#5252407)
To be sure, Safari is invoking a system level PDF reader to handle inline PDFs. That's what gets you that silky performance and nice rendering.

When you pop the PDF out, it then gets passed to the full Preview.app.

Re:Firefox introduces PDF viewer by w0utert on Wednesday February 20, 2013 @02:52PM (#5252835)
>> To be sure, Safari is invoking a system level PDF reader to handle inline PDFs. That's what gets you that silky performance and nice rendering.

Which, IMO, is the way it should be, and not just for PDFs. I'm impressed by the fact that Mozilla implemented a capable PDF reader in JavaScript, but I won't be using it. Firefox and Chrome are both trying too hard to duplicate everything my OS already provides: their own video codecs, audio codecs, image codecs, the Flash plugin (Chrome), now a PDF viewer, and so on. I'd rather just have my browser render HTML/CSS, run JavaScript, and that's about it. It doesn't have to implement anything else itself, all modern OS's should have everything required to display all the embedded content.

Re:Firefox introduces PDF viewer by rictic on Wednesday February 20, 2013 @06:02PM (#5253983)
The main problem I see with that is security. PDF is a huge attack surface, reducing that to the already existing and well tested javascript surface is a huge win. Ideally (in my mind) every browser will come to use Mozilla's pdf implementation.
Re:Firefox introduces PDF viewer by jfb on Wednesday February 20, 2013 @06:38PM (#5254176)
Ideally, I would trust my OS vendor and be safe using their superior PDF renderer. I think my ideal world is likelier to come to pass than yours, sad to say.
Re:Firefox introduces PDF viewer by rys on Wednesday February 20, 2013 @04:34PM (#5253517)
That only works if you don't care about fragmenting what features you support on multiple OSes, and trust those codes to do the right thing in all of your use cases for it.

For some of the browsers it's clearly better for them to bundle the kitchen sink, since at least it's their kitchen sink and guarantees the kitchen sink will always be there.