Live data from Hacker News

Embedded PDF viewer in Firefox 81 supports filling forms

support.mozilla.org

301–310 of 384 posts

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#302
post #281

Earlier quoted context omitted.

I just want support for APIs, mainly. I get websites from time to time that just refuse to load. E.g. * blank pages when trying to load an imgur gallery on v68 (esr). * image uploading not working right on instagram and various other sites, either producing blank images or ones with weird lines. * several teleconferencing / video meeting websites just don't work properly, whether it's not detecting hardware properly,…

Please file bugs for these. Also, to the author of this comment: please file bugs for these. (I work for Mozilla and yet I'm pretty lazy about bothering to file these.) https://bugzilla.mozilla.org/enter_bug.cgi?product=Web%20Com... if you're on desktop.

Can I just say, for the record, thank you for the work you and all the devs put into Firefox.

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#303

Earlier quoted context omitted.

Anyone can create a PDF form to capture data and signatures, email it to someone who can then fill it out offline, and then email it back. That's not something easily done with a webpage, and it's not something my mom can do. PDFs are easy to make and easy to work with. Web pages aren't. Your work is impressive, and why would anyone want that? Do you envision lawyers putting all their legal contracts into fancy flipp…

> Do you envision lawyers putting all their legal contracts into fancy flippy books? Someone will have to solve it for the lawyers in a not so 'fancy consumerish' way. Point is that it is possible to do that, and Firefox shouldn't be solving this problem using an ancient format and a layer of cruft in between.

But we have PDF today and everyone is already using it. What does this bring to the table that's improved over PDF from a user's perspective?

You can be a developer who enjoys the smell of your own farts all day long but that doesn't mean anyone else wants to smell them.

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#304

I just want to smooth scroll with vim keys (hjkl). Too much to ask? :/

here, I'll make it easier for you to contribute to the project by providing you with the lines you'd need to update:

https://github.com/mozilla/pdf.js/blob/83e1bbea6e23db8744420...

https://github.com/mozilla/pdf.js/blob/83e1bbea6e23db8744420...

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#306
post #15

I looked into coding PDFs once. Then I closed my MacBook (Pro) and went for a long walk into the ocean. I think I almost got to America, but then I turned and swam back again. Turnd out I had just fallen asleep and had a nightmare. I was actually just working with regular text files, and everything was fine.

I am actually interested in doing pure JS pdf processing. All of the web interfaces for PDF processing are server side — which means it’s tough to process large files. The dream is a purely JavaScript solution that never leaves the local computer. I’ve got a few client-side success stories that do fairly significant image generation through the canvas. So far PDF seems reasonably manageable through manipulating the text, but it’s not the best format.

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#307
post #15

I looked into coding PDFs once. Then I closed my MacBook (Pro) and went for a long walk into the ocean. I think I almost got to America, but then I turned and swam back again. Turnd out I had just fallen asleep and had a nightmare. I was actually just working with regular text files, and everything was fine.

I am actually interested in doing pure JS pdf processing. All of the web interfaces for PDF processing are server side — which means it’s tough to process large files. The dream is a purely JavaScript solution that never leaves the local computer. I’ve got a few client-side success stories that do fairly significant image generation through the canvas. So far PDF seems reasonably manageable through manipulating the t…

> The dream is a purely JavaScript solution that never leaves the local computer.

Mozilla's pdfjs[1] project is a pure HTML/JavaScript solution for PDF rendering. This is the same code that ships in Firefox browser as well. This is standalone, AFAIK, it doesn't talk to a mothership.

[1]https://mozilla.github.io/pdf.js/

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#308
post #161

I have a feeling this thread has a strong bias from highly automated valley life. In more provincial regions and even just much of Europe lots of forms have to be filled out and printed. It is not something you have to everyday or something, but the existing solutions suck massively. You either have to use Adobe, which requires Windows (or Mac, I suppose) and your firstborn or use some massively shady online service.…

In Mac you can fill in PDFs with the builtin Preview app. I like it.

And yet every time I go to my parents' they've somehow installed Adobe Reader for Mac. I've deleted that app like 6 times.

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#309
post #124

Earlier quoted context omitted.

Yes, like it or not PDF is a de facto standard of the web, in the same way that Flash was nearly a de facto standard before the industry-wide decade-long effort to kill it. A browser that doesn't support PDFs is as lacking in the eyes of users as a browser that doesn't support PNGs.

If Flash was rendered natively in the browser, sandboxed and across different browsers, and with high enough performance/low enough battery impact, it would have stayed. There were efforts similar to PDF.js to run Flash content using JS but they were never able to tick all those boxes.

https://beta.rive.app/ (OSS runtime, xplatform, native rendering)

Re: Embedded PDF viewer in Firefox 81 supports filling forms

#310
post #15

I looked into coding PDFs once. Then I closed my MacBook (Pro) and went for a long walk into the ocean. I think I almost got to America, but then I turned and swam back again. Turnd out I had just fallen asleep and had a nightmare. I was actually just working with regular text files, and everything was fine.

Years ago, I worked on a project that required generating PDF invoices. Used the FPDF library and I was shocked how small the files are (including a properly sized logo) when generated compared to most other PDFs 'rendered' from word or print processors.
Post reply on HN