News for hackers. Stuff that matters.
Re:Webkit.js by atomical on Friday June 20, 2014 @09:52PM (#7923847)
I've been watching this project hoping that eventually PDFs could be rendered on the client.
Re:Webkit.js by qhoc on Friday June 20, 2014 @11:10PM (#7924016)
You can do that today already using toDataURL() https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasE... to convert canvas to image and then use jsPdf http://parall.ax/products/jspdf to convert that image to pdf
Re:Webkit.js by tlinton on Saturday June 21, 2014 @03:13PM (#7925801)
Is this a big needed feature? It's actually really easy to pull of, cairo's backend can be switched from using images to svg, to pdf's. It's just switching the backend and once the renderer is done just spit out the results.

Add it as a feature request on github and i'll add it to the api.

Re:Webkit.js by kevingadd on Saturday June 21, 2014 @12:53PM (#7925429)
Re:Webkit.js by atomical on Tuesday July 01, 2014 @08:12PM (#7974327)
Sorry, I meant rendered from javascript templates in the browser.