Jump to content

using iReport 5 - embed OCR A font in a pdf


bob_4

Recommended Posts

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

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 7 months later...

"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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...