bob_4 Posted June 7, 2013 Share Posted June 7, 2013 Using iReport 5.1.0, I have installed a font named "OCR A Extended" using the option --> iReport --> font tab, It is installed as a windows font, I have exported the font to the class path.But the rendered PDF only has a default font. The preview in iReport does render the OCR A font.Any Ideas??? Link to comment Share on other sites More sharing options...
Thomas Zimmer Posted June 7, 2013 Share Posted June 7, 2013 is it a true type font (I assume this) and did you check "embed font in pdf" when defining the font extension?Cheers, Thomashttp://www.thomaszimmer.net Link to comment Share on other sites More sharing options...
bob_4 Posted June 7, 2013 Author Share Posted June 7, 2013 Yes it is true type and I did check the box. I also took a peek at the irfonts.xml file and it set to true. Link to comment Share on other sites More sharing options...
cathyhill345 Posted January 16, 2014 Share Posted January 16, 2014 "But the rendered PDF only has a default font. The preview in iReport does render the OCR A font."You should use the Font Extensionsmechanism.After creating the font and exporting it as a jar file you should add generated jar file to the application classpath.View more at: http://stackoverflow.com/questions/8985497/use-custom-fonts-when-creating-pdf-using-ireport 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