Amiga Unix — 68040 · 68060

Manual pages › General commands (1)

xfed(1)

font editor for X window systems bdf fontfiles

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

NAME

xfed - font editor for X window systems bdf fontfiles

SYNOPSIS

xfed [options] filename.bdf

DESCRIPTION

xfed lets you interactively edit  existing  X11R2-based  bdf
font files.  When started, xfed, opens up a window showing a
magnified version of the characters in 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  pressing  the  write-button,  no
changes  will be written to the fontfile; otherwise the ori-
ginal fontfile is saved to a backup file (filename ) and the
new output written onto the original fontfile.

xfed accepts the following command line arguments:

-fg colorname

        as usual - default is black

-bg colorname

        as usual - default is white

-bd colorname
        as usual - default is black
         note, that this color is also used  for  the  grid;
        'xfed -bd red ...' looks nice.

-bw number

        as usual - default is 1

-nogrid do not draw a grid (not very useful)

-psize number

to change the pixel magnification factor (default 16)

COMMANDS

When the cursor is in the edit region, each mouse button has a different effect upon the square that the cursor is over.

The left mouse button turns a pixel to black

The right mouse button turns a pixel to white

The middle mouse button inverts a pixel, turning it white if it was black, or black if it was white.

FILE FORMAT

see X-Doc 'Character Bitmap Distribution Format 2.1'

ENVIRONMENT

DISPLAY - the default host and display number.

SEE ALSO

X(1), BITMAP(1).

BUGS

xfed does not work with X11R3 fonts or OPEN LOOK fonts. It fails on a parse error when trying to parse X11R3 fontnames and new X11R3 font properties.

This is a first version - a quick hack.

Many edit features missing !

Should be able to change font characteristics and character properties.

If you move the mouse too fast while holding a mouse 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, Siemens