Jump to content
Changes to the Jaspersoft community edition download ×

Add Fonts Postscript Type 1 in ireport for PDF


splanquart

Recommended Posts

Hello all,

I use iReport 3.5.3 or 3.6.

I have a font in Postscript Type 1 format. I have add this in my system (ubuntu 9.04).

The internal preview is OK with this font but not in PDF preview.

For my font, i have 4 files with extension: .afm, .inf, .pfb .pfm.

I try :

  • to put this file in ./ireport/fonts
  • to create a jar file with font.xml and .afm file
  • to add .afm file in iText.jar
  • to add path of afm file into classpath
  • to add property net.sf.jasperreports.export.pdf.font.MyFontName and value com.lowagie.text.pdf.fonts.MyFontName or path of afm file

I have not other idea.

Can you teach my the god way for add font Postscript Type 1 into ireport for PDF generator (iText)

 

THX

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 years later...
  • 2 months later...

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...