2001 JI Open Discussion Posted August 14, 2006 Share Posted August 14, 2006 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. Thanks shivva.. By: Teodor Danciu - teodord RE: how to specify the fonts in the xml file 2002-05-16 04:49 Hi, 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! Teodor 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