a0096@DK0RRZK0.BITNET (Thomas Pfenning) (03/07/89)
Following the discussion about postscript I picked up the files from a comp.sources archive and installed the patch provided by steve beaty in v7i158. With the fix installed all but one of the demo files ran fine on our 386i. The raygun2 file produced a garbled picture as mentioned in the Pixrect Reference Manual. The following patch fixes the bitorder problem with a 8bit color monitor when loading postscript bitmaps. I can't give you a diff because BITNET corrupts all files, so I list the function with the lines between #ifdef 386 and #endif added. struct hardware *HardwareFromString (s, width, height) unsigned char *s; int width, height; { int words = (width + 15) / 16; Pixrect *pr = mem_create (width, height, 1); short *d = mpr_d (pr)->md_image; int odd = ((width + 7) / 8) & 1; int i, j; for (i = 0; i < height; i++) { for (j = 0; j < words - odd; j++) { short word = *s++; *d++ = (word << 8) *s++; } if (odd) *d++ = *s++ << 8; } #ifdef sun386 mpr_d (pr) -> md_flags &= |MP_I386; /* pixrect is in 68000 style bitorder */ pr_flip(pr); /* revert to 80386 */ #endif return NewHardware (pr, NewDevicePoint (width, height), 0); } Hope this helps . Thomas Pfenning, University of Cologne, Institute for Theoretical Physics
N280014%UNIVSCVM.BITNET@cornellc.cit.cornell.edu (Charles J. Alber) (06/09/89)
I am new to this network and to computers generally, so please be kind. Could anyone tell me about the use of Postscript to create foreign character sets. I am interested in porting material from the Sun to the NeXT via Ethernet. My main interests at present are Chinese, Italian and French. Would be happy to summarize for the net, if others would like.
hall@uunet.uu.net (Craig Hall) (06/29/89)
Does anyone have and be willing to share a printcap entry and output filters for an Apple LaserWriter II NTX?? I'm in the process of converting a network of 386is to PostScript. Any hints or help would be greatly appreciated. Thanks in advance. Craig Hall uunet!iscuva!ewu!hall System Manager Computer Graphics Lab Eastern Washington University Cheney, Wa. 99004
alison@c255a.ucsf.edu (ABoeckmann) (11/08/89)
Does anyone know of a third party or public domain program that can take a postscript file (e.g., PostScript.out from Splus) and turn it into an Encapsulated PostScript (EPS) file? The idea is to import it into SunWrite in such a way that it can be seen as-is rather than as a black box. (This is needed for a Sun3/50 running SunOS3.5, or for a Sun4/330 running SunOS4.0.3.)