Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Additional fonts: setConfigDir.sh works, but OC_JASPER_CONFIG_HOME doesn't #78

Hi, Diaetmar.
It seems to be a bug.

As it says here https://github.com/daust/JasperReportsIntegration/blob/v2.11.0/src/doc/github/installation-full.md

We have two options here:
Configure the server environment using an operating system environment variable
Configure the setting in the web.xml file of the jri.war file

As it says here https://github.com/daust/JasperReportsIntegration/tree/v2.11.0?tab=readme-ov-file

Using additional fonts
...
Some fonts are bundled with jasperreports itself into a jar and make them work irrespective of underlying platform. Those are the DejaVuSans fonts. They are always available on all platforms because they are included in the file jasperreports-fonts- .jar.
https://community.jaspersoft.com/wiki/custom-font-font-extension (this is the easiest one), then add it to the classpath

But if i follow first way with setting OC_JASPER_CONFIG_HOME for Tomcat, but not ./setConfigDir.sh ../webapp/jri.war /opt/JasperReportsIntegration then JRI doesn't see font's jars placed into ./webapps/jri/WEB-INF/lib

JRI1.png
  • replies 0
  • views 31
  • likes 1