Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with e.report 6 and itext-1.4.jar

Status
Not open for further replies.

saltyfrog

Programmer
Mar 28, 2006
1
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top