Maybe we should render the HTML content and print it to a graphics context provided by iText. The iText library then would convert the UIDocument's draw operations to a PDF document.
I noticed a JPEG option in the source which isn't documented... What is it for?
Awesome! - I forgot all about this article - I will give it a try and let you know.
I got everything working with Flying Saucer xhtmlrenderer. It actually works better than PD4ML which was purchased by my company a few projects ago.
Should this be in jira for a html2pdf feature?