       ********* Dore is public domain software  ********


1.  There are two precompiled libraries in the lib directory.  The libdore_s.a is a single
precision library and the libdore_d.a is a double precision library.  The libraries are
compiled with the stdx11, ps and rasterfile device drivers. The file dore.h is required 
in all dore programs to use the dore library.  The dore.h file is predefined for single 
precision and requires a define -DDORE_REAL_DOUBLE for double precision. The data
directory contains the fonts and an error message file expected to be found in
the /usr/dore/data directory.  The dor2X11 program converts the dore .img file format
produced by the rasterfile driver to an XWD file format used by X11.


2. To install copy the dore/data directory to /usr/dore/data.  Copy the include/dore/dore.h
file to /usr/local/include/dore/dore.h.  Copy the dore2X11 program to /usr/local/bin.  Copy a
selected library to /usr/local/lib and optionally link or copy to libdore.a .


3. The frond.c program shows the DcRealTime mode.  The DcProductionTime mode in sample.c 
produces the test.img rasterfile output. The simple.c program generates the Postscript 
dore.ps file.  Try the programs: 
 
a) single and double precision:

gcc sample.c -o sample -ldore_s -lX11 -lm 
gcc sample.c -o sample -DDORE_REAL_DOUBLE -ldore_d -lX11 -lm

b) single and double precision: 

gcc simple.c -o simple -ldore_s -lX11 -lm
gcc simple.c -o simple -DDORE_REAL_DOUBLE -ldore_d -lX11 -lm

c) single and double precision:

gcc frond.c -o frond -ldore_s -lX11 -lm
gcc frond.c -o frond -DDORE_REAL_DOUBLE -ldore_d -lX11 -lm


4.  The Dore Programmers Manual and the Dore Manpages explain how to use the dore library.    
Appendix B to the Dore Programming Manual shows functions supported by the stdx11, ps and 
rasterfile drivers.


5.  Convert dore rasterfile format .img files to XWD format: 
             dor2X11 -if test.img -of xwud.xwd

    Display the xwd file: 
             xwud -in xwud.xwd
 
Dore was placed forever in the public domain in 1995.


Jesse Don Hickson III
theme@montana.com
16 Aug 1998
