xfd(1X)
NAME
xfd - X Window System font displayer
SYNTAX
xfd [ display ] [ geometry ] [ options ] font
ARGUMENTS
displaySpecifies the display screen on which xfd displays its window. If the display argument is not specified, xfd uses the display screen specified by your DISPLAY environment variable. The display argument has the format hostname:number.
hostnameSpecifies the name of the host machine on which the display is connected. You can specify the name local to use shared memory, the name unix to use UNIX IPC, or the name of your host machine to use TCP.
numberSpecifies the number of the display on that host machine.
geometrySpecifies the width, length, and location of the xfd window. If the geometry argument is not specified, xfd uses mouse input. For further information, see DESCRIPTION.
The geometry argument has the format =[width][xlength][x][y].
widthSpecifies the number of pixels of the window’s horizontal dimension.
lengthSpecifies the number of pixels of the window’s vertical dimension.
xSpecifies the x screen coordinate (pixel value) for the starting corner of the window.
ySpecifies the y screen coordinate (pixel value) for the starting corner of the window.
Depending on which corner of the screen each is relative to, both the x and y coordinates must be preceded by a plus (+) or a minus (−). For more information about the screen coordinate system, see X(.).
DESCRIPTION
The xfd command creates a window that displays all characters in the specified font. The size of the window can be specified by the geometry argument. If the geometry argument is not specified, position and size the xfd window by pressing one of the following mouse buttons:
LeftPositions the upper left corner of the window at the mouse pointer and sizes the window with a default width and length.
MiddlePositions the starting point of the window at the mouse pointer and sizes the window to a width and length determined by mouse movement.
RightPositions the window at a default screen location and sizes the window with a default width and length.
The font name is interpreted by the X Server. If the name begins with “/”, the X Server treats it as the absolute pathname of a file containing a font. If the name does not begin with “/”, the X Server adds the suffix “.onx” to it and looks for the font file in the /usr/lib/Xfont directory. If no font name is given on the command line, xfd displays the font “vtsingle”.
The characters are displayed (eight to a line) in the specified font, in increasing ASCII order.
To remove the xfd window, place the mouse pointer in the window and press any mouse button.
OPTIONS
The xfd command has the following options.
−bw pixelsSpecifies the width of the window border.
−rvSpecifies that the default color values be reversed (for example, black becomes white and white becomes black).
−fg colorSpecifies the color of the text displayed in the window (color displays only).
−bg colorSpecifies the background color of the window (color displays only).
−bd colorSpecifies the border color of the window (color displays only).
RESTRICTIONS
The xfd command hangs on certain fonts when you have the DISPLAY variable set to hostname:0. To get around this problem, set the DISPLAY variable to unix:0 or local:0.
X DEFAULTS
Like most X-based applications, xfd reads the .Xdefaults file during start-up and uses the appropriate resource specification to customize the appearance or characteristics of its displayed xfd window. The format for a resource specification in the .Xdefaults file is: [name.]resource:value
nameSpecifies the application name or, in the case of X Toolkit-based applications, the name string that restricts the resource assignment to that application or to a component of an application. If this argument is not specified, the resource assignment is globally available to all X applications.
resourceSpecifies the X resource.
valueSpecifies the value that is to be assigned to the resource.
For xfd, the available name is xfd.
For xfd, the available resources are:
Background Specifies the background color of the window (color displays only).
BorderColor Specifies the border color of the window (color displays only).
BorderWidth Specifies the border width of the window.
Foreground Specifies the color of the text displayed in the window (color displays only).
ReverseVideo When on, specifies that xfd reverse the default window colors (monochrome displays only).
FILES
/usr/lib/Xfont/*.onx