Just to close this thread, I simplified my app. Instead of the process
SVG -> convert to PDF -> insert to PDF invoice, now I just take a PDF
and insert it with LayerUtility (like in SuperimposePage example) to the
final PDF.
In other words, I wanted to include company logos in SVG to an invoice.
Nowadays, most design programs allows to export to PDF. So, I will
accept PDF logos and forget about the SVG conversion :)
Ivan
On 11/5/2016 1:18 a. m., John Hewson wrote:
That’s unfortunate. I guess you could run batik’s SVG to PDF conversion via the
command line and have it use PDFBox 1.8 via the classpath. Then you can keep
using 2.0 for your code.
— John