...
Note |
---|
If the font is shown in the list and is not usable, than you are missing the logical to physical font mapping. Consider to use a a font manager library on system level (e.g. libfontconfig). If you want to manual add the font to manually to the JVM / JRE provided by Jira / Atlassian, consider the documentation provided from Oracle : https://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html The fonts listed show ONLY fonts available on your system. Please do not forget to register the fonts. |
Make fonts available to JasperReports - Registration of fonts
Create a font extension including all fonts you require archive usable by JaserReports and provide the jar archive in your Jira Installation directory in the lib subfolder (e.g. /opt/atlassian/jira/lib/).
Structure of the jar extension is:
- jasperreports_extension.properties
- yourFontDefintion.xml
- FONT_SUB_FOLDER
- fontfile_1.ttf
- fontfile_2.ttf
- ....
You should NOT use font.xml as font file definion name. This collides (may collide) with the font definiton provided in the default JRE provided by Atlassian.
Contents of jasperreports_extension.properties
Code Block | ||
---|---|---|
| ||
net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory
net.sf.jasperreports.extension.registry.factory.simple.font.families=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory
net.sf.jasperreports.extension.simple.font.families.MyFont=YOUR_FONT_DEFINTION_FILE_NAME
|
Permissions
Permissions considered for Custom Reports.
...