News for hackers. Stuff that matters.
Re:URL to PDF Microservice by homero on Thursday October 05, 2017 @11:03AM (#15409715)
I've moved all my pdf to client side. Less security and processing on the server.

http://pdfmake.org/#/gettingstarted

Re:URL to PDF Microservice by dotmanish on Thursday October 05, 2017 @12:36PM (#15410514)
Interesting. There's jsPDF as well which is similar: https://github.com/MrRio/jsPDF
Re:URL to PDF Microservice by leesalminen on Thursday October 05, 2017 @01:39PM (#15410959)
Does anyone have advice on rendering wide tables (with lots of text) with this library? We have a constant cat ant mouse game with this library.
Re:URL to PDF Microservice by welder on Thursday October 05, 2017 @08:35PM (#15413633)
Then you can't send pdfs in emails or pre-cache pdfs...
Re:URL to PDF Microservice by welder on Friday October 06, 2017 @12:55PM (#15418288)
On second thought, if you're ok with linking to PDFs instead of attaching them in emails then you can pre-cache all content needed to generate PDFs. Besides email attachments, I can't think of a use-case for server side generating PDFs.
Re:URL to PDF Microservice by adrianpike on Thursday October 05, 2017 @12:19PM (#15410367)
Is there a browser support matrix somewhere? This looks real promising but we need to support IE9. :(
Re:URL to PDF Microservice by woebtz on Thursday October 05, 2017 @02:06PM (#15411225)
Also consider non-Western languages (CJK, Russian, Arabic). My team got bit by this when we discovered we couldn't render emoji's client-side.