I’m working on a fairly large project which has to be deployable within an OSGi 
environment and needs to output high quality PDFs of maps. We’re looking at 
iText because we can use our existing java Graphics2D rendering code to render 
straight into a PDF and the tests we’ve done look excellent but I’ve hit a 
small problem when building a deployable version of the project.

iText’s manifest does contain OSGi bundle information but I’ve hit two issues 
with it so far.

  1.  com.itextpdf.awt is not in the export list so we cannot call the 
constructor for PdfGraphics2D.
  2.  If we use one of the deprecated methods on PdfContentByte to create the 
PdfGraphics2D then we get a class not found exception because the bundle 
doesn’t import javax.imageio, or javax.imageio.plugins.jpeg

I’m going to work round this temporarily by editing the manifest and placing 
the altered jar in our local maven repo.

Regards, Duncan.

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to