rcracel Posted September 15, 2006 Share Posted September 15, 2006 Hello all, I just spent the last 4 hours reading all the posts about ireport and fonts... but nothing seems to work for me. I want to be able to generate the pdf files using custom ttf fonts (not really custom, but none of the ones included) like arial. This is what I have unsuccessfully tried so far: 1) create a fonts.jar and add it to the system classpath2) add the same fonts.jar to the ireports classpath3) add the %windir%/fonts to the system classpath4) add the %windir%/fonts to ireport classpath no matter what I do I still seem to be unable to see arial.ttf in the pdf font drop box. I have seen people talk about an "external font" option in that drop box, but I am using ireport 1.2.6 and that option is not present. I am running out of ideas here and would really appreciate some help. thanks in advance,Roger Link to comment Share on other sites More sharing options...
rcracel Posted September 15, 2006 Author Share Posted September 15, 2006 I believe I found the source of confusion here and decided to post it in case anyone else has run into this. When the .exe file is compiled, the classpath is imbued in the file. Your system classpath is not used at all. The solution for me was to run the jar (or the .bat files included in the package) so that the application would use my system's classpath instead. It seems to me that adding an option to specify the directory for the fonts wouldn't be too hard. Maybe a feature request? This would make many people's lives much easier. :) Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted September 16, 2006 Share Posted September 16, 2006 The fonts path option can be a good idea.I'll add it to my (long) to do list. Thanks Giulio Link to comment Share on other sites More sharing options...
vhastings Posted October 13, 2006 Share Posted October 13, 2006 Noob question here: how do you do what you did -- namely, run the jar (or the .bat files included in the package) so that the application would use your system's classpath? 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