This article explains how to use TrueType fonts in your form design. This example uses the Reform MICR Font File, Reformck.ttf.
Copying the font file
For iSeries deployment:
- Copy the true type font file to the /RJSFORMS folder on the iSeries.
For example: Use the following syntax for a UNC path:
\\125.1.1.54\rjsiforms\Reformck.ttf
Store all true type fonts your forms use in the /RJSFORMS folder. The SPLIFORM and RUNIFORM commands will automatically find any true type fonts in this location.
For iReport designer PC deployment:
- Make sure the iReport Form Designer is not running.
- Open the Control Panel and, in the Fonts folder, save a copy of the file Reformck.ttf.
- In the folder C:\program files\JasperSoft\iReport-2.0.0\fonts, save a copy of the file Reformck.ttf file. This lets iReport find the font for embedding.
- Restart iReport.
The new true type font now displays in the font-selection list.
Setting an iForms report or form to use a true type font
- Open or start a new .jrxml form file.
- Add or modify a field and open Properties.
- In the Font tab:
- In Font Name, choose MICR Fabsoft Reform Check Font.
- In PDF Font Name, choose MICR Fabsoft Reform Check Font (Reformck.ttf).
- Check PDF Embedded.
- Save the form design.
Now when this form is run from the iSeries, the true type font is embedded in the PDF.
Last Modified On:
No, open a new Support Case