Xref: utzoo comp.sources.bugs:1479 comp.graphics:4261 comp.lang.postscript:1496 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!vsi1!wyse!uunet!mcvax!unido!tub!actisb!federico From: federico@actisb.UUCP (Federico Heinz) Newsgroups: comp.sources.bugs,comp.graphics,comp.lang.postscript Subject: Bugs in yahp2ps Summary: A couple of fixes... Keywords: yahp2ps HPGL PostScript bugs Message-ID: <324@actisb.UUCP> Date: 27 Jan 89 15:04:45 GMT Reply-To: federico@actisb.UUCP (Federico Heinz) Organization: Actis in Berlin GmbH, W. Germany Lines: 38 Since I released it, some people have written telling me of errors in yahp2ps. Thanks to their help, I could remove three bugs from the program. If you want to fix them, you'll have to do following changes: In io.c: in the function getNumber(), place the line negative = False; before the line that reads if (LookAhead == '+') and in the function writeNumber(), the line if (n = Zero) should read (of course) if (n == Zero) In mchinery.c: in the function doShadeRectangle, the line setCurrentPoint(PenPosition[X],PenPosition[Y]); should read setCurrentPoint(plotterXCoord(PenPosition[X]), plotterYCoord(PenPosition[Y])); I promise I'll learn how to use diff and patch for the next time :-)