2 ms·
> but I’ve rarely seen a high quality PDF renderer What exactly do you mean by this? That HTML-to-PDF converters mess up the layout, or similar? You might be
by blauditore 6y ago
> but I’ve rarely seen a high quality PDF renderer
What exactly do you mean by this? That HTML-to-PDF converters mess up the layout, or similar?
You might be aware of this, but it's still worth pointing out that you can specify a different stylesheet for the print version of an HTML page than the default one. I've used this in the past for websites where the customer wanted to use a product description page directly for generating PDFs, without having to do the work twice. We also used some Java-based HTML-to-PDF renderer, which was not perfect but had full support of CSS 2.1 and some support of CSS 3 (and this was several years ago). I think the library was Flying Saucer (based on itext).