Hi
Did anybody have this problem?
iText.jar has been compiled with JDK1.3.1
The following would crash when executed with v.1.3.1; no problem though when using v.1.4.X
DefaultFontMapper fontMapper = new DefaultFontMapper();
fontMapper.insertDirectory(javaFonts);
// Create a template and corresponding Graphics2D object
PdfContentByte contentByte = pdfWriter.getDirectContent();
PdfTemplate pdfTemplate = contentByte.createTemplate(width, height);
printableGraphics = pdfTemplate.createGraphics(width, height, fontMapper);
I cannot upgrade Java; older version is a project requirement.
Thank you,
Eugene Rozhdestvensky