I'm trying to add some extra fonts to my application war to use them with Jasper Reports plugin.
I've followed this answer to add font files to my application and made it work with absolute paths for font files. However, I can't make it work with relative paths, so I have to have a different jasper_fonts.xml
config file for different deployments, which is no good.
I have an appname/web-app/fonts
directory in my grails project which is deployed as appname/fonts
in Tomcat6, but if I set font path in jasper_fonts.xml
to fonts/font.ttf
I get an InputStreamNotFound
exception. What am I doing wrong here?