[comp.windows.x] X Font editor available

daniel@osf.ORG (05/11/91)

I've just put on export:/contrib the sources of xfedor, a bdf/xbm/xpm
editor that I wrote 3 (or 4?) years ago.
It has a lot of problems (especially in the interface :) but it does a good 
job in some case.
Following are the man page and the README.

Daniel Dardailler

PS: OSF has *nothing* to do with this stuff, in fact, nobody has nothing
to do with xfedor anymore (read also: don't try to report bugs to me),
that's why I'm releasing it PD.



   XFEDOR(1)            X Version 11                                XFEDOR(1)

   NAME
	xfedor - font, cursor, icon editor (color too).

   SYNTAX
       	xfedor 	[-f fontfile[.bdf]] [-b bitmapfile[.xbm]]
                [-m mousefiles] [-p pixmapfile[.xpm]] 
                [-z] [-xy] [-f1 fontname] [-f2 fontname]
                [-g +x+y] [-d host:display.screen]

   DESCRIPTION
	xfedor is an X Window System Version 11 client.
	xfedor is essentially a font editor for X11 bdf files (V 2.1).
	xfedor can also generates limited (128x128) bitmaps in X11 format
	or in XPM 1 format (color) and has facilities for creating cursors.
        xfedor don't make any use of various XDefaults files.

   ARGUMENTS
        -f fontfile
	    a bdf file to be read at startup.
	    (xfedor appends .bdf if there is no extention).
     	-b bitmapfile
            bitmap file in X11 format : "include file C".
            (priority to .xbm extensions)
     	-m mousefiles
            two bitmap X11 files, mousefileFore and mousefileMask,
            are looking for in $MAP directory. (as at run-time)
     	-p pixmapfile
            pixmap file (color) in XPM format (ASCII editable)
            (priority for .xpm extensions)
	-rv 
	    reverse video : white on black (default black on white).
        -f1 fontname
            font to be use in general interface
        -f2 fontname
            font to be use in mouse guide lines
        +x+y
	    initial geometry of the main window (default 10,10).
     	-z, -xy
            Pixmap format used in image transferts (XPutImage,XGetImage).

   SHELL VARIABLES
	BDF
	    directory for read and write bdf files.
            default value is empty string (current).
	SOS
	    directory where xfedor search help files (optional).
            default is /usr/local/lib/X11/xfedor.
	MAP
	    directory to read and write bitmap files from.
            default value is empty string (current).
	DISPLAY
	    default server name.
      	HOME
	    User home directory. Used as ~ replacement when it 
            appears as the first character of file name.

            If the file name begins by a /, full path taken.

   FILES
	$SOS/*.sos	help files:
                 (*.sos, with * = {BEZIERS,FILL,METRIC,ROTATE,
                    WRITE,CIRCLE,FONT,NUM,SAVE,CUTAP,GARB,SOS,
                    RECTANGLE,EDIT,LINE,RESIZE,TRANSLATE,default)
	$MAP/Fore*	bitmap files for cursor foreground
	$MAP/Mask*	bitmap files for cursor background
	$BDF/*.bdf	Bitmap Distribution Format Files.
    	$MAP/*.xbm   	Bitmap X11 file (#define ..)
    	$MAP/*.xpm      XPM format file (color format in ASCII).

   SEE ALSO
	bitmap(X), bdftosnf(X), xsetroot(X)

   AUTHORS
	Daniel DARDAILLER


Known problems:
      - very very old proprietary look&feelsick
      - comments in french
      - filer.c module (BDF reader/writer) has to be reviewed for new BDF
        stuff and some bugs (COMMENT lines lost, unexpected changes in
	read/write only actions...) 
      - xpm3 updated also needed, use the public libXpm instead of the
        current private code.
      - non Xt based => icccm problems, fixed geometry, lack of resources...
      - not even X based originally, so don't expect something great.
      - no Imakefile

Otherwise, It can still help to create mouse cursors, colored pixmaps and
possibly fonts (if you don't care about XLFD compliance at first).

Daniel Dardailler.