Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xfd(X) — OpenDesktop 1.0.0y

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     xfd(1)           X Version 11 (25 October 1988)            xfd(1)



     NAME
          xfd - displays fonts for X

     SYNOPSIS
          xfd [-options ...] -fn fontname

     DESCRIPTION
          The xfd program opens a window and displays the characters
          in the font you specify with the -fn argument.  The
          characters are shown in increasing order from left to right,
          top to bottom.  The first character displayed at the top
          left is character number 0 unless you specify a different
          character number with the -start option.

          The characters are displayed in a grid of boxes, each large
          enough to hold any single character in the font.  If you
          specify the -gray option, the characters are displayed using
          XDrawImageString using the foreground and background colors
          on a gray background.  This allows xfd to determine exactly
          how XDrawImageString draws any given character.  If you do
          not specify -gray, xfd draws the characters using the
          foreground color on the background color.

          All characters in a given font may not fit in the window at
          once.  To see additional characters, click the right mouse
          button on the window.  This causes the next window of
          characters to be displayed.  Clicking the left mouse button
          on the window causes the previous window of characters to be
          displayed.  If you make an attempt to go back past the 0th
          character, xfd beeps.

          Note that if the font is an eight-bit font, the characters
          256-511 (100-1ff in hexidecimal), 512-767 (200-2ff in
          hexidecimal), and so on, display exactly the same as the
          characters 0-255 (00-ff in hexidecimal).  By default, xfd
          creates a window big enough to display 16 rows of 16 columns
          (totalling 256 characters).

          Clicking the middle button on a character displays that
          character's number in both decimal and hexidecimal at the
          bottom of the window.

          If you select verbose (-verbose) mode, additional
          information about that particular character is displayed as
          well.  The displayed information includes the width of the
          character, its left bearing, right bearing, ascent, and
          descent.  In verbose mode, you can also type < or > anywhere
          in the window to display the minimum or maximum values of
          the font's left bearing, right bearing, ascent, and descent.

          The font name is interpreted by the X server.  To obtain a
          list of all the fonts available, use xlsfonts(1).



     Page 1                                          (printed 10/4/89)






     xfd(1)           X Version 11 (25 October 1988)            xfd(1)



          The window stays on your screen until you kill the xfd
          process or type q, Q, '', or Ctrl-C in the xfd window.

     OPTIONS
          -display display
               Specifies the display.

          -geometry geometry
               Specifies an initial window geometry.  The default
               depends upon which font you select.

          -fn fontname
               Specifies the name of the font you want to display.

          -bw number
               Specifies the width of the window border in pixels.
               The default is 2.

          -rv  Switches the foreground and background colors.  The
               default colors are black on white.  This option is off
               by default.

          -fw  Overrides a previous choice of reverse video.  The
               foreground and background colors are not switched.

          -fg color
               On color displays, specifies the foreground color (the
               color of the text).  The default is black.

          -bg color
               On color displays, specifies the background color.  The
               default is white.

          -bd color
               On color displays, specifies the border color.  The
               default is black.

          -bf fontname
               Specifies the font for the messages at the bottom of
               the window.  You must use a fixed-width font.  The
               default is "fixed."

          -tl title
               Specifies title as the title of the displayed window.

          -in iconname
               Specifies iconname as the name of the icon.

          -icon filename
               Specifies that the bitmap in file filename should be
               used for the icon.




     Page 2                                          (printed 10/4/89)






     xfd(1)           X Version 11 (25 October 1988)            xfd(1)



          -verbose
               Displays extra information about the font.

          -gray
               Specifies a gray background.

          -start charnum
               Specifies that character number charnum should be the
               first character displayed.  The default is 0.

     X DEFAULTS
          BorderWidth   Sets the border width of the window.

          BorderColor
               Sets the border color of the window.

          ReverseVideo
               Reverses the foreground and background colors.

          Foreground
               Sets the foreground color.

          Background
               Sets the background color.

          BodyFont
               Sets the font for messages that appear in the window
               body.  The xfd program does not display in the
               BodyFont; it only uses this font for messages regarding
               the font being displayed.

          IconName
               Sets the name of the icon.

          IconBitmap
               Specifies which file contains the icon bitmap.

          Title
               Sets the title.

     LIMITATIONS
          Character information displayed in verbose mode is sometimes
          clipped to the window boundary, which hides it from view.

          This client does not skip over pages full of non-existent
          characters.

     SEE ALSO
          X(1)
          xlsfonts(1)
          xrdb(1)




     Page 3                                          (printed 10/4/89)






     xfd(1)           X Version 11 (25 October 1988)            xfd(1)



     COPYRIGHT
          Copyright 1988, Massachusetts Institute of Technology.
          See X(1) for a full statement of rights and permissions.

     AUTHOR
          Mark Lillibridge, MIT Project Athena.

















































     Page 4                                          (printed 10/4/89)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026