pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ridao Freitas <i...@ivanrf.com>
Subject PDFBox 2.0 and Batik
Date Tue, 10 May 2016 15:47:43 GMT
I'm trying to add an SVG to a PDF with Apache Batik, but some code 
changes made it incompatible with PDFBox 2.0.1.

The first exception is: java.lang.NoSuchMethodError: 

I tried to manually override the class to add that, and the next errors 
  - CFFCharset was moved to the parent package, so I added import 
  - I had to make the setCharset() public

Nevertheless, although I could make a workaround there, a simple SVG 
without fonts enters in long loop conversion that never finishes. Also, 
I don't know why Batik loads all system fonts and fails on fonts stuff, 
but my SVG has no fonts inside :(.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message