Ruby LazyWeb: someone port DOMPDF to Ruby
The DOMPDF library for PHP has been getting some attention lately, and from the description, it sounds like something I’d love to have available for Ruby:
dompdf is an HTML to PDF converter. At its heart, dompdf is (mostly) CSS2.1 compliant HTML layout and rendering engine written in PHP. It is a style-driven renderer: it will download and read external stylesheets, inline style tags, and the style attributes of individual HTML elements. It also supports most presentational HTML attributes.
Pretty sweet. I’ve dug around and there are a few libraries available for Ruby that do similar things; doc_convert is one - but I’m not sure how active it is. Anyone out there want to get some practice porting a library from PHP? You could probably just plug in PDF-Writer wherever dompdf uses PDFLib.
Comments (No comments)
There are no comments for this post so far.
Post a comment