Jump to content
Changes to the Jaspersoft community edition download ×

how to specify the fonts in the xml file

Recommended Posts

By: Shiva Murali - shivva

how to specify the fonts in the xml file

2002-05-16 01:04

"<reportFont name="Courier_New" isDefault="false" fontName="Courier New Bold" isBold="true" pdfFontName="courbd.ttf" pdfEncoding="Identity-H" isPdfEmbedded="true"/>"


This is my report font. When the xx.jasper is executed in the tomcat, it throws file not found exception. can anyone suggest how to look for the fonts.







By: Teodor Danciu - teodord

RE: how to specify the fonts in the xml file

2002-05-16 04:49




iText needs to know exactly the location of

the font file on disk.


If you don't know or if you are not sure what is

the current path when running tomcat, then you

should better specify the absolute path on disk

to the font file in the pdfFontName attribute.


This is how iText works. I don't know if there

are new possibilities in the new versions.


Good luck!


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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