lsfont Command

Purpose

Lists the fonts available to the display.

Syntax

lsfont [ -l]

Description

The lsfont command displays a list of the fonts available to the display. The font identifier can help you change fonts using the chfont command.

You can use a Web-based System Manager Devices application (wsm devices fast path) to run this command. You could also use the System Management Interface Tool (SMIT) smit lsfont fast path to run this command.

Flags

Item Description
-l Specifies the removal of all header information from format of data.

Examples

To list all fonts available to the display, enter:

lsfont

The following example displays the font identifier, font name, glyph size, and font encoding for each available font:

FONT  FILE            GLYPH  FONT     
ID    NAME            SIZE   ENCODING 
====  ==============  =====  =========
0     Erg22.iso1.snf  12x30  ISO8859-1
1     Erg11.iso1.snf   8x15  ISO8859-1

For further details about the fonts available, see Text Fonts for the AIX® System.

Files

Item Description
/bin/lsfont Contains the lsfont command.
/usr/lpp/fonts Contains fonts directory.