Customizing TTF Font Location for Resources
The default font path in Logi Report Server is <install_root>\font
. You can set the font path to a different location in one of the following three ways. These are in an order from higher to lower priority:
- Use the property server.font.path in the server.properties file saved in
<install_root>\bin
to set a full path to it. - Use the "-D" parameter to set the system property key jreport.server.font.path.
- Use the API method HttpUtil.initEnv() to set the property key server.font.path.
Note: The value specified by the "-D" parameter is not stored into the server.properties file, while the value specified using API is stored into the file.