OOF2: The Manual

Name

OOF.Settings.Fonts.Fixed — Set the fixed-width font to use in text displays.

Synopsis

OOF.Settings.Fonts.Fixed(fontname)

Details

  • Parent Menu: OOF.Settings.Fonts
  • Callback: function setFixedFont in module ooflib.common.IO.mainmenu
  • Parameters:

    fontname
    The name of a font. Type: A character string.

Description

This command sets the font to be used in text displays in the GUI, such as the Console and Messages windows, which look best in a fixed-width font. OOF2 only suggests that you use a fixed-width font for these windows. You are free to choose any font you like.

The font name can be any font recognized by the Pango library. In GUI mode, this command brings up a font selection dialog, so you don't have to know the names of the fonts installed on the system.

To automatically set the font for all OOF2 sessions, put this command in the file .oof2rc in your home directory, for example:

      OOF.Settings.Font.Fixed(fontname="Courier 12")