How to add Custom Jaspersoft Fonts in Clarity
search cancel

How to add Custom Jaspersoft Fonts in Clarity

book

Article ID: 395497

calendar_today

Updated On: 04-25-2025

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

How to add custom Jaspersoft Fonts in the Jaspersoft server for Clarity? 

Environment

All Supported Clarity Releases with Jaspersoft

Resolution

Possible Options 

To see the custom fonts in the Jaspersoft reports they have to be installed on the Jaspersoft server.

The change in Jaspersoft Studio fonts will only work when running from Jaspersoft Studio.

So for customer to have their custom fonts in reports in Clarity there are two options:

  • Deploy a Jar file with the fonts on the server (recommended by Tibco)
  • or
  • Install the fonts directly on the OS

 

How to Install Custom Fonts in Jaspersoft

Follow Jaspersoft documentation - note once you generate a JAR file it has to be published on the Jaspersoft server as below (Excerpt):

Add the font set as a jar on your JasperReports Server instance:

     1.    On the machine hosting your JasperReports Server instance, enable font support by adding the following to your <js-install>WEB-INFclassesjasperreports.properties file:
net.sf.jasperreports.web.resource.pattern.fonts=fonts/.*

You only have to enable font support once.

     2.    Add the exported font set jar to your <js-install>WEB-INFlib directory.
     3.    Stop and restart your JasperReports Server instance. See the JasperReports Server Installation Guide for more information.