[comp.windows.x] problems with ralpage and xps

haozhou@acsu.buffalo.edu (hao zhou) (08/01/90)

I have successfully compiled ralpage and xps - the postscript 
previewers on our SunClusters. Both tools work fine with the 
ps files provided with xps. However they don't work with other
ps files, for instance, ps files produced from Xmaker. I got 
an error message saying 'dictfull in operator def'. 

If anybody knows how to cure this problem, please reply to
haozhou@acsu.buffalo.edu.

Thanks in advance.

Hao Zhou

hughes@azrothec.usf.edu (Ken Hughes) (08/04/90)

In article <31876@eerie.acsu.Buffalo.EDU>, haozhou@acsu.buffalo.edu (hao
zhou) writes:
|>
|>I have successfully compiled ralpage and xps - the postscript 
|>previewers on our SunClusters. Both tools work fine with the 
|>ps files provided with xps. However they don't work with other
|>ps files, for instance, ps files produced from Xmaker. I got 
|>an error message saying 'dictfull in operator def'. 
|>
|>If anybody knows how to cure this problem, please reply to
|>haozhou@acsu.buffalo.edu.
|>
|>Thanks in advance.
|>
|>Hao Zhou

I've had the same problem and traced it as far as the dictionaries for
the various page sizes, such as A4, etc.  I say this is APPARENTLY where
the problem is; on my system it crashes on a dictionary of size 5.

---------------------------------------------------------------------------
Ken Hughes  (hughes@sol.csee.usf.edu) |  "If you were happy every day of
sysadm	     (root@sol.csee.usf.edu)  |   your life you wouldn't be human,
Dept of Comp Sci and Eng	      |   you'd be a game show host."
University of South Florida	      |     Winona Ryder, in "Heathers"
---------------------------------------------------------------------------

keith@EXPO.LCS.MIT.EDU (Keith Packard) (08/04/90)

|>I have successfully compiled ralpage and xps - the postscript 
|>previewers on our SunClusters. Both tools work fine with the 
|>ps files provided with xps. However they don't work with other
|>ps files, for instance, ps files produced from Xmaker. I got 
|>an error message saying 'dictfull in operator def'. 

I saw this as well when previewing FrameMaker postscript files using ralpage. 
The fix I applied was a simple hack - increase the size of all dictionaries by
one element by changing MakeDictBody.  This solved the problem.

  static Type MakeDictBody (size) int size;
   {
          Type dict;
          int i;
          struct dict_entry *hash;

          dict = (struct dict_struct *) Malloc ((unsigned) sizeof (struct dict_st!
+         size++;
          dict->dict_size = size;

Keith Packard
MIT X Consortium

janssen@parc.xerox.com (Bill Janssen) (08/06/90)

Thanks for the patch, Keith, but it only helps a little.  I run ralpage
on two output file from FrameMaker, and get the following errors:

	11 % ralpage test2.ps
	undefined in operator 
	12 % ralpage test.ps
	undefined in operator colorimage
--
 Bill Janssen        janssen@parc.xerox.com      (415) 494-4763
 Xerox Palo Alto Research Center
 3333 Coyote Hill Road, Palo Alto, California   94304