Dec 282017
 
Postscript Interpreter C-Source. Disk 4 of 4.
File PSTSCSRC.ZIP from The Programmer’s Corner in
Category Miscellaneous Language Source Code
Postscript Interpreter C-Source. Disk 4 of 4.
File Name File Size Zip Size Zip Type
ADAPTER.C 7826 1838 deflated
ARRAY.C 9897 2622 deflated
BOOLEAN.C 4356 1137 deflated
CACHE.C 15449 3963 deflated
CANON.C 1373 614 deflated
CANON.H 374 238 deflated
COLOUR.C 4960 1791 deflated
COLOUR.H 322 190 deflated
COLOURWW.C 9383 2546 deflated
CONFIG.C 3451 1118 deflated
CONTROL.C 6883 2034 deflated
COPYRIT.H 490 284 deflated
DEVICE.C 8112 2357 deflated
DEVICE.H 361 216 deflated
DICTION.C 13063 3005 deflated
FILE.C 18441 5069 deflated
FILL.C 15222 3828 deflated
FONT.C 17133 4641 deflated
FONT.H 197 152 deflated
GRAPHICS.H 1111 533 deflated
GSAVE.C 2410 877 deflated
HARD-INT.C 10882 3708 deflated
HARD.H 848 361 deflated
HEAD 72 68 deflated
HEAD.ED 85 80 deflated
IMAGE.C 12266 2933 deflated
INTEGER.C 9086 2021 deflated
MAIN.C 10944 3218 deflated
MAIN.H 4267 1557 deflated
MAKEFILE 1761 622 deflated
MALLOC.C 1379 637 deflated
MAT.C 2985 990 deflated
MAT.H 399 218 deflated
MATH.C 5382 1677 deflated
MATRIX.C 10550 1986 deflated
MISC.C 920 515 deflated
NAME.C 4981 1657 deflated
NULL.C 2358 819 deflated
OPERATOR.C 8383 2352 deflated
ORION.C 7066 2505 deflated
PAINT.C 6065 1417 deflated
PAT.C 13647 3877 deflated
PATH.C 10574 2228 deflated
PATH.H 1050 490 deflated
PIXRECT.C 5969 1784 deflated
POINT.H 273 181 deflated
POLY.C 4472 1496 deflated
PROPERTY.C 3360 1117 deflated
PROTOCOL.C 3521 1333 deflated
PROTOCOL.H 997 412 deflated
README 860 498 deflated
REAL.C 6967 1552 deflated
ROP.H 603 244 deflated
SAVE.C 1011 532 deflated
SCREEN.C 3658 1221 deflated
STACK.C 7060 1932 deflated
STATE.C 11444 2637 deflated
STR.H 165 118 deflated
STRING.C 12924 2974 deflated
STROKE.C 11650 2733 deflated
TRAPZOID.C 1981 779 deflated
UNIX.C 3259 1152 deflated
VIEWER.C 9572 2262 deflated
WW.C 6987 1952 deflated
X.C 15740 3783 deflated

Download File PSTSCSRC.ZIP Here

Contents of the README file


This is a virtually complete implementation of PostScript. Just type
make and it should produce a version for suns. Since the only complete
driver is for suns and since some driver writing will be necessary on
any other machine, I have not packaged everything up in an idiot-proof
box. I am not aware of any Gotchas in building this source. The X
driver used to work on X10 - It will need work for X11. The pixrect
driver is very new, and should be regarded as didactic, as it scribbles
straight onto the display. Persuading suntools to look after the bits
would have taken too long.

Writing your own driver involves merely hacking pixrect.c until it will
drive your display. There are only 11 routines to write, and they're
all quite short.

Have fun!

- Crispin Goswell

[email protected]
[email protected]
...!mcvax!ukc!rlvd!caag


 December 28, 2017  Add comments

Leave a Reply