jgamble/Algorithm-Networksort

Postscript Output Not Parsing

Closed this issue · 1 comments

Postscript code from version 2.01 is not parsing. I'll have to check, but I don't believe there's been a change from the initial version that had a postscript output, so it may be that the postscript parsers I used to check the output back then were more lax.

Regardless, this needs fixing.

I wound up re-organizing the postscript code, to handle colors and to fix what turned out to be stack problems (I'm not sure, but I'm wondering if my prior use of grestore/gsave was wrong and slipping by, or if it was covering up a different error).

Anyway, stack use in the output is much better, endpoints (if drawn) are over the lines instead of under, and background color can be set.