This section describes how to open a single application with a modified font style and point size. Note that changes cannot be made to existing windows; you must start a new application to display the new font. To start a new application, you type its application name on a command line.
The basic command, shown below, specifies the application name, the -fn (font name) option, and the font style and size. The ampersand (&) returns your system prompt to the window after you type the command; this enables you to continue using that window.
$ application -fn fontstyle-pointsize & |
The following are examples of how to use the command to open an application with a specified font style and size.
The example below starts a new Command Tool with the proportionally-spaced font, Lucida Sans Typewriter Bold.
The point size is not specified; therefore the default (12-point) is used.
$ cmdtool -fn lucidasans-typewriter-bold & |
The example below starts a new Shell Tool with Lucida Sans Typewriter Bold and increases the size of the font from 12 point to 14 point.
Note that when you change the size of the font, the size of the window changes as well.
$ shelltool -fn lucidasans-typewriter-bold-14 & |
The example below starts a new xterm terminal window with the font terminal-bold in 16 point:
$ xterm -fn terminal-bold-16 & |
The example below starts a new Text Editor with the font Helvetica Bold in 14 point:
$ textedit -fn helvetica-bold-14 & |
Use the -fn option with any application and any font style and size you choose. "10.4.2.1 The Available Font List"describes how to list all the fonts available for OpenWindows applications.