We got an application that uses e.reports 6 to create some pdf files with barcodes. Now we got a new project where we would like to use itext to create and/or append existing pdf files. However, it seems like the PDFext.jar file that e.reports 6 uses is not compatible with itext-1.4.jar.
If PDFext.jar is loaded first e.reports works but not the app that uses itext-1.4.jar and if itext-1.4.jar is loaded first I get the following error when trying to create the barcode pdf:
java.lang.RuntimeException: Failed to embed font from True Type Font file C:\Apache Group\Tomcat 5.0\webapps\tcmIS\WEB-INF\classes\BC128C.TTF
at com.actuate.ereport.output.pdfUsedFonts.<init>(OD_PDF.java:122)
at com.actuate.ereport.output.OD_PDF.registerAndGetFont(OD_PDF.java:2082)
at com.actuate.ereport.output.OD_PDF.loadAFMOrTTFFont(OD_PDF.java:2586)
at com.actuate.ereport.output.OD_PDF.ACJ536(OD_PDF.java:2251)
at com.actuate.ereport.output.OD_PDF.ACJ536(OD_PDF.java:2200)
at com.actuate.ereport.output.OD_PDF.Generate(OD_PDF.java:4302)
at com.actuate.ereport.output.OD_PDF.generate(OD_PDF.java:3650)
at com.actuate.ereport.output.VirtualOutput.generatePDF(VirtualOutput.java:2257)
at com.actuate.ereport.output.ACJOutputProcessor.generatePDF(ACJOutputProcessor.java:1496)
<--- snip ---->
Anyone have an idea on how to get around this issue other than using another tool other than itext for the new app? Btw, upgrading the actuate tool is not an option and neither is modifying the code that creates the barcode.
If PDFext.jar is loaded first e.reports works but not the app that uses itext-1.4.jar and if itext-1.4.jar is loaded first I get the following error when trying to create the barcode pdf:
java.lang.RuntimeException: Failed to embed font from True Type Font file C:\Apache Group\Tomcat 5.0\webapps\tcmIS\WEB-INF\classes\BC128C.TTF
at com.actuate.ereport.output.pdfUsedFonts.<init>(OD_PDF.java:122)
at com.actuate.ereport.output.OD_PDF.registerAndGetFont(OD_PDF.java:2082)
at com.actuate.ereport.output.OD_PDF.loadAFMOrTTFFont(OD_PDF.java:2586)
at com.actuate.ereport.output.OD_PDF.ACJ536(OD_PDF.java:2251)
at com.actuate.ereport.output.OD_PDF.ACJ536(OD_PDF.java:2200)
at com.actuate.ereport.output.OD_PDF.Generate(OD_PDF.java:4302)
at com.actuate.ereport.output.OD_PDF.generate(OD_PDF.java:3650)
at com.actuate.ereport.output.VirtualOutput.generatePDF(VirtualOutput.java:2257)
at com.actuate.ereport.output.ACJOutputProcessor.generatePDF(ACJOutputProcessor.java:1496)
<--- snip ---->
Anyone have an idea on how to get around this issue other than using another tool other than itext for the new app? Btw, upgrading the actuate tool is not an option and neither is modifying the code that creates the barcode.