FONT Mnemonic - Set SYSPRINT Font

For this topic's original documentation, see FONT Mnemonic - Set SYSPRINT Font.

BBj-Specific Information

If the characters per inch (cpi) and points parameters are given, BBj will use points if the point size is greater than zero. Otherwise, CPI will be used with the current height. If the cpi and points parameters are not specified, BBj will attempt to map the font to the current cols and rows selected.

The 'FONT' mnemonic looks for the words "bold" and/or "italic" to appear in the name of the font and changes the font style accordingly. Use a dot or a space to separate the "bold" and/or "italic" from the name of the font. For example:

  • 'font'("Lucida Console")
  • 'font'("Lucida Console.italic",5,12)
  • 'font'("Lucida Console.italic.bold",10,5,0)

Eliminating the words "bold" and "italic" results in the "plain" style.

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing