Customizing TTF Font Location for Resources
This topic describes how you can change the TTF font location for server 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, in an order from higher to lower priority:
- Use the property server.font.path in the server.properties file 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. Server does not save the value into the server.properties file.
- Use the API method HttpUtil.initEnv() to set the property key server.font.path. Server saves the value into the server.properties file.