jmastajam Posted October 21, 2008 Share Posted October 21, 2008 Hi everyone,I need some help with configuring my JasperServer to recognize a new font (MICR to print account number/route number on a check)I've read that in order to have the PDF exporter recognize a new font, I have to register it by specifying where the TTF (true type font) file or the directory is so the iText engine can load it. My understanding is that this can be accomplish by either setting the system properties (at run time) or by the jasperreports.propertiesHowever, what I read is from the Definitive Guide to Jasper Reports. It doesn't look like JasperServer setting is similar.Has anyone done something like this before? Please help if you can. I'm pretty stuck. thanksNghia Link to comment Share on other sites More sharing options...
jmastajam Posted October 27, 2008 Author Share Posted October 27, 2008 Ok I figured this out, following up just for FYI sake.1. jar your TTF file.2. Include the jar file as an external jar into your project (I'm using eclipse)3. In the report template, set the PDF font to the name of the TTF file. For example: pdfFontName="MICR.ttf"4. isPdfEmbedded ="false" Link to comment Share on other sites More sharing options...
jmastajam Posted October 27, 2008 Author Share Posted October 27, 2008 Oh I guess I posted this thread in the wrong forum. It should be on JasperReport instead. :) 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