Skip to content

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

@gomanuke

Description

@gomanuke

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions