News for hackers. Stuff that matters.
Re:Official Puppeteer Support for Firefox by freedomben on Wednesday August 07, 2024 @03:45PM (#41184664)
Indeed, Firefox uses PDF.js which I've found to produce really good results.
Re:Official Puppeteer Support for Firefox by mook on Wednesday August 07, 2024 @05:22PM (#41185691)
Doesn't PDF.js go the other way (convert a PDF into HTML-and-friends for display in a browser, instead of "printing" a page into a PDF)?

I haven't dug into it and am quite possibly incorrect, hence the request for confirmation!

Re:Official Puppeteer Support for Firefox by freedomben on Wednesday August 07, 2024 @07:53PM (#41186714)
Ah damnit, yes you're correct. Too late to edit my comment though.
Re:Official Puppeteer Support for Firefox by ak217 on Wednesday August 07, 2024 @09:53PM (#41187375)
That is correct, pdfjs is not usable for printing. Chrome uses Skia for printing, not sure what Firefox uses.