Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've found Firefox to produce better PDFs than Chrome does, for what it's worth. There are some CSS properties that Chrome/Skia doesn't honour properly (e.g. repeating-linear-gradient) or ends up generating PDFs from that don't work universally.


Indeed, Firefox uses PDF.js which I've found to produce really good results.


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!


Ah damnit, yes you're correct. Too late to edit my comment though.


That is correct, pdfjs is not usable for printing. Chrome uses Skia for printing, not sure what Firefox uses.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: