• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..08-Oct-2002-

Makefile.subH A D23-Aug-2002286 1817

READMEH A D07-Oct-20022.3 KiB6945

gprint.hH A D07-Oct-20021.8 KiB8759

grn.manH A D07-Oct-200214.2 KiB641622

hdb.ccH A D03-May-20228 KiB339257

hgraph.ccH A D03-May-202228.2 KiB1,056701

hpoint.ccH A D20-Feb-2000906 5027

main.ccH A D03-May-202227 KiB907544

README

1This is grn from the Berkeley ditroff distribution.  It has no
2AT&T code and is therefore freely distributable.
3
4Tim Theisen <tim@cs.wisc.edu>
5
6=====================================================================
7
8This is the modified code for the groff.  It uses the different
9devxxx format that is ascii rather than binary as in the
10Berkeley distribution.  Since groff does not have the \Ds option
11for line drawing (dotted, dashed, etc.), this version includes
12the routines for drawing curves and arcs, so it does not use the
13\D~, \Da nor \Dc.  Although also included in here is a routine
14for drawing the optional gremlin style curves, it is not used
15because the gremlin editor uses the conventional spline
16algorithm.  The Berkeley grn has the choice of different
17stipples.  Here, only different shades of gray will be painted
18depending on the gremlin file.  It is possible to upgrade this at
19a later time.  (Daniel Senderowicz <daniel@synchrods.com> 12/28/99)
20
21=====================================================================
22
23Gremlin produces three types of curves: B-Splines, interpolated
24curves and Bezier.  As the original Berkeley grn, now groff grn
25will honor B-Splines and interpolated curves.  Bezier curves will
26be printed as B-Splines.  (Daniel Senderowicz <daniel@synchrods.com>
2710/04/02)
28
29=====================================================================
30
31It has been further modified by Werner Lemberg <wl@gnu.org> to fit
32better into the groff package.
33
34  . Replaced Makefile with Makefile.sub.
35
36  . Removed dev.h since it is unused.
37
38  . Renamed grn.1 to grn.man; this man page has been extensively
39    revised.
40
41  . Used error() and fatal() from libgroff for all source files.
42
43  . Renamed *.c to *.cc; updates as needed for C++ (prototypes, proper
44    casts, standard header files etc).  Heavy formatting.
45
46  . main.cc:
47
48      Using groff's default values instead of DEVDIR, DEFAULTDEV, PRINTER,
49      TYPESETTER, and GREMLIB.
50
51      `res' is now an integer.
52
53      Added `-C' command flag (for compatibility mode) as with other
54      preprocessors.
55
56      Added `-F' and `-v' option (similar to troff).
57
58      Renamed `-L' option to `-M' for consistence.
59
60      Removed `-P' option.
61
62      Using font::load_desc() for scanning DESC files.
63
64      Removed SYSV-specific code.
65
66      Using macro_path.open_file() for getting gremlin graphic files.
67
68      Added usage().
69