Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xfed(1) — Stardent 3.0 System Software

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

X(1)

BITMAP(1)

XFED(1)  —  X Version 11 (19 Aug 1988)

NAME

xfed − font editor for X Version 11 bdf fontfiles

SYNOPSIS

xfed [ −options ...  ] filename

 
xfed lets you interactively edit existing bdf-fontfiles.  When run, xfed opens a window showing a magnified character of the font.  There are four buttons to interact with xfed, two stepping buttons to advance to the previous/next character in the font, a write-file button and an exit button.  If you leave xfed without saving a modified font, a dialog window will appear, asking if you want save changes before quitting.  The write option moves the original fontfile
 

OPTIONS

xfed accepts the following options:
 

−display host:dpy
the server to be used.  See X(1) for details. 

−geometry geometry
the placement and size of the bitmap window on the screen.  See X(1) for details. 

−psize number
the pixel magnification factor.

−nogrid
no grid in the edit window (not very useful).

−bw number
border width in pixels.

−fg colorname
foreground color.

−bg colorname
background color.

−bd colorname
border color.  Note, that this color is also used for the grid.

−font fontname
font used for text in the font editor.

The window created by xfed has several subwindows.  At the top, a window displays the name of the file being edited.  Below this window, two similar windows display information about the font and the character being displayed.  Below this window is a direct access window through which any character in the font can be accessed. 

The direct access window has a vertical bar which represents the relative position of the displayed character in the font.  The vertical bar can be "dragged" with any mouse button to access a character.  Alternatively, you may type the desired character with the pointer in this window to access a character. 

Below the direct access window is the edit window which displays the character with pixels magnified by the factor psize.  The command buttons to step through the font, save the font, or exit the editor are to the right of the edit window.  Two windows below the command buttons display the character in actual size using the foreground and background colors. 
 

COMMANDS

Two arrows point into the edit window on the top and right sides.  To change the bounding box for the current character they may be "dragged" with any mouse button. 
 

Button 1 (usually the left button) turns on pixels. 
 

Button 2 (usually th middle button) inverts pixels. 
 

Button 3 (usually the right button) turns off pixels. 

Four editing commands which are typed directly from the keyboard with the pointer within the bounding box of the characte are:r

iInsert a horizontal line at the pointer position
 

dDelete a horizontal line at the pointer position
 

IInsert a vertical line at the pointer position
 

DDelete a vertical line at the pointer position

The direct access window (above the edit window):

Any key pressed in this window will display that character in the edit window and move the vertical bar to the corresponding positon in the font. 

Pushing a mouse button in this window will move the vertical bar to that position, and thus display the corresponding character in the edit window. 
 

FILE FORMAT

 
see X-Doc ’Character Bitmap Distribution Format 2.1’
 

X DEFAULTS

xfed uses the routine XGetDefault(3X) to read defaults. 

Geometry
The size and location of the bitmap window.  The default depends on the font.

PixelSize
The initial pixel magnification factor.  The default depends on the font.

NoGrid
No grid will be used in the edit window if true.  The default is false.

BorderWidth
The border width.  The default value is 2.

Foreground
The foreground color.  Bits which are 1 in the bitmap are displayed in this color.  This option is useful only on color displays. The default value is “black”.

Background
The window’s background color.  Bits which are 0 in the bitmap are displayed in this color.  This option is useful only on color displays.  The default value is “white”.

BorderColor
The border color.  This option is useful only on color displays. The default value is “black”.

BodyFont
The text font.  The default value is “fixed”.  If xfed is given variable width font it will not display the current character while the direct access bar is "dragged". 
 

ENVIRONMENT

DISPLAY - the default host and display number. 
XENVIRONMENT - the name of the defaults file to use.
 

SEE ALSO

X(1), BITMAP(1), X-Doc ’Character Bitmap Distribution Format 2.1’
 

BUGS

Limited edit features. 

No “undo” command. 

Unable to change font characteristics and character properties. 

If you move the pointer too fast while holding a pointer button down, some squares may be ‘missed’.  This is caused by limitations in how frequently the X server can sample the mouse location. 

There is no way to write to a file other than that specified on the command line. 
 

COPYRIGHT

Copyright 1988, Network Computing Devices, Inc. 
 

AUTHOR

Olaf Brandt
Network Cumputing Devices, Inc.
Palo Alto, CA
Copyright (c) 1988 by Siemens
Claus Gittinger
Software Consultant
Siemens Munich
Dep. D-St-Sp-4
Charles-de-Gaullestr. 2a
8000 Munich/Neuperlach
West Germany
Email: ..!decvax!unido!sinix!claus

September 29, 2021

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