Re:PDFs in Pure Ruby
by rufo on Thursday January 21, 2010 @10:03PM
(#1069002)
Any details you can share? I may have a need of something similar.
[ Parent
| on HN ]
The best way to do this is FlyingSaucer via JRuby.
I thought about that but I didn't want my entire app running within the JVM.
You probably wouldn't have to do that. Check into something like resque: http://github.com/defunkt/resque
(depends upon your needs, of course)
Yeah, I used Flying Saucer:
https://xhtmlrenderer.dev.java.net/
Only, I needed to parse plain HTML (not just XHTML) so I'm using TagSoup as the replacement parser: http://home.ccil.org/~cowan/XML/tagsoup/
This combination is awesome.