Font

Type: Font

Default:                  UNCW 36 point

Allowed values:        Any accessible Java.awt.font.

Note: the Font may be set directly, using setFont(font), in applications calling the class directly. Alternatively the font name, style and size may be specified as individual text values for the following properties:

FNAME = the font family name, eg. Barcode.setParam(“FNAME”,”UNCW”);

FSIZE = the font height in points, eg. Barcode.setParam(“FSIZE”,”£^”);

FSTYLE = the font style, eg. Barcode.setParam(“FSTYLE”,”0”);

where:

0 = java.awt.Font.PLAIN
1=java.awt.Font.BOLD
2=java.awt.Font.ITALIC
3=java.awt.Font.BOLD + java.awt.Font.ITALIC

Note that the UnifontJ does not have a display, so the font property acts only as a store that may be interrogated. It is not necessary to use this property, as the font used to display the getBarcode() String may be set in the calling application.

 

More:

Serial