[net.bugs.usg] cip-pic incompatibility

gwyn@brl-smoke.ARPA (Doug Gwyn ) (08/25/86)

"cip" will put a file that it can't "get".

Workaround for DMD Text+Graphics Release 1.2 or 1.3,
source file cip/pic.c:

writePIC(t,f,b) 
...
{
...
  switch (t->type) {
    case CIRCLE: {
...
      if ( t->otherValues.radius != 0 )	/* DAG -- added */
      fprintf(f,"circle rad %d at %d,%d\n",
...
    case BOX: {
...
      if ( t->bb.corner.x != t->bb.origin.x && t->bb.corner.y != t->bb.origin.y )	/* DAG -- added */
      fprintf(f,"box ht %d wid %d with .nw at %d,%d %s\n",
...
    case ELLIPSE: {
...
      if ( t->otherValues.ellipse.ht != 0 && t->otherValues.ellipse.wid != 0 )	/* DAG -- added */
      fprintf(f,"ellipse ht %d wid %d at %d,%d\n",
...