Syntax

DOFONT lname {'ttfname' | X16'uuuuuuuu'}
[HEIGHT 10 POINTS | HEIGHT n [POINTS | IN | CM | MM | PELS]]
[RATIO percent] 
[ROTATION [0 | 90 | 180 | 270]]
[PRELOAD] 
[UDType of the PAGEDEF |  
UDType {EBCDIC [CP {'T1V10500' | code-page-name}] |
EBCDIC2 CP code-page-name |
ASCII [CP {'T1000819' | code-page-name}] 
UTF8 | UTF16}]
[MICR]
[INLINE] ;
DOFONT
Defines a Data Object Font.
lname
Specifies the local name for the font. This is an unquoted alphanumeric name of 1 to 16 characters. The name must be unique within this page definition. lname is the name used in the EXTREF, PRINTLINE, LAYOUT, XLAYOUT, FIELD, or FIELD BARCODE commands using FONT or DOFONT commands which reference the font.
'ttfname' or X'16'uuuuuuuu...'
The full font name of the Data Object font, for example Times New Roman Bold.
'ttfname'
Specifies a quoted, case sensitive name of the Data Object font to be used in this page definition. Names entered in this form are translated to UTF-16 for matching in the RAT. The name can be 1 to 125 characters long and can contain blanks. It is entered in the platform encoding (for example, ASCII or EBCDIC). The full font name is case sensitive and must match exactly the full font name in the Data Object font, including blanks. Long font names should be entered as follows:
 DOFONT Font1 'A very long named Helvetica Font whose '
              'name will not fit on one line, and '
              'maybe not even on two lines'
        Height 12 points;
Be sure the blanks are not left out and the case (Upper or Lower) of the characters are correct.
X'16'uuuuuuuu...'
The full font name of the Data Object font in Unicode UTF-16BE (Big Endian) encoding. Enter the full Unicode font name in hex digits. Four hex digits represent one Unicode code point if it isn't a surrogate. It takes eight if it is a surrogate. PPFA only checks that the entered digits are a multiple of four. The total number of hex digits entered is restricted to 500. This allows a font name of up to 125 characters (if there are no surrogates). No translation is done on the name when entered in this format. The Unicode UTF-16BE is case sensitive and must match exactly the full font name in the Data Object font, including blanks. Long font names should be entered as follows:
DOFONT Font1 X16'0041002000760065007200790020006C'
                '006F006E006700200066006F006E0074'
                '0020006E0061006D0065006400200048'
                '0065006C007600650074006900630061'
       Height 12 points;                                         
Be sure the blanks are included and the case (upper or lower) of the characters are correctly encoded.