5 ms·
This looks great (and is something I'll very likely use on a project I'm working on now!) My quick "dumb" question -- what's the pitch for using this vs. what
by nlh 14y ago
This looks great (and is something I'll very likely use on a project I'm working on now!)
My quick "dumb" question -- what's the pitch for using this vs. what I would call more traditional conversion tools? My project will need some HTML -> PDF goodness and I was planning on researching and running some sort of local / server-side package (which I presume exists, though I haven't researched them yet).
Either way, congrats on the launch - this makes a lot of sense and sounds like a great utility.
- zrail 14y agoThanks! The pitch is that HTML to PDF conversion tools, as a rule, are not very good. Docverter is actually on it's third iteration of that particular conversion because the first two didn't provide even close to satisfactory results.
- highace 14y agoThat's interesting. So you've built your own HTML to PDF converter? Can you provide an example (a screenshot, maybe) where your version excels against an existing solution?
- zrail 14y agoIt's a small web service that wraps around a Java library named Flying Saucer, so there isn't anything to look at really. Flying Saucer excels against the alternatives I looked at in a few ways. First, Pandoc's built in PDF writer uses a LaTeX intermediary which doesn't support anything that web writers have come to expect. Second, the other tools were webkit based which variously didn't support the page media spec, didn't support embedding fonts, or both. Others were custom one off of desktop tools that wouldn't work how I need for Docverter.
- vamega 14y agoWhat features do web writers expect that LaTeX doesn't have? I think LaTeX supports fonts (well XeLateX does).
- zrail 14y agoIn particular, styling and layout with CSS. People seem to want seamless HTML to PDF conversion, and providing that without a LaTeX intermediary seems to be the best way to go.
- sciboy 14y agoJust so you are aware, flying saucer while nice when you first use it has tonnes of bugs and isn't really being developed these days. You'll find yourself more and more diving into the code because the output is substandard. We used it for years and have now moved away because we couldn't stand customising it for every little edge case more, plus it doesn't support html5/CSS3 which is essential nowadays. Take a look at the codebase - you won't want to be adding to that! Additionally it expects documents to be completely in memory, which means it will take down your Java server sometimes.