maxib Posted May 12, 2010 Share Posted May 12, 2010 I'm using JasperReports 3.7.2, iReport 3.7.2. and jre 1.6.0.20I need to use courier new in a report. I've installed the font in iReport and set the Font name in the text field. Then I use font extension to use from my webapp.I can preview in pdf in iReport but when I export report as pdf I got an exception: Caused by: java.awt.FontFormatException: bad table, tag=-1078132736 at sun.font.TrueTypeFont.init(TrueTypeFont.java:512) at sun.font.TrueTypeFont.<init>(TrueTypeFont.java:162) at sun.font.FontManager.createFont2D(FontManager.java:2474) at java.awt.Font.<init>(Font.java:570) at java.awt.Font.createFont(Font.java:896) at net.sf.jasperreports.engine.fonts.SimpleFontFace.<init>(SimpleFontFace.java:69)Cheers, Maxi Link to comment Share on other sites More sharing options...
deradovanovic Posted July 1, 2013 Share Posted July 1, 2013 I have similar problem, and can't believe that no body knows the answer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now