Nuclos Jasper font extensions: font extension, TTF, family name, classpath, JAR, server extension, nuclet.

globe with meridians Language: Deutsch · English

hammer and wrench Adding font extensions

Embed custom fonts in reports – create a font extension in Jaspersoft Studio, export it as a JAR and embed it as a server extension.

On this page

Why font extensions?

Fonts provided by the operating system vary – a missing or slightly different font can shift the layout and line breaks. With a font extension you embed external font files so the report looks identical everywhere.

Step by step

  1. Download the font (TTF, SVG, WOFF or EOT; usually TTF).
  2. In Jaspersoft Studio under Window → Preferences → Jaspersoft Studio → Fonts click Add.
  3. Set a family name and pick the matching font file for Normal/Bold/Italic/Bold Italic, Finish.
  4. The font is now selectable in the properties.

Adding a font in Jaspersoft Studio.

To test in the designer, the font must be exported as a JAR and added under Options → Classpath (designer > Jasper 3.6.0).

Export the JAR & embed in Nuclos

Under Preferences → Fonts select the extension and click Export → save as JAR. This JAR is added as a server extension to the desired nuclet.

Embedding the font extension as a server extension.

Related pages

printer Jasper extensions in Nuclos


Extensions.

Open →

package Nuclet


Building block.

Open →