This is HostFontWraps.c in view mode; [Download] [Up]
/* HostFontWraps.c generated from HostFontWraps.psw
by unix pswrap V1.009 Wed Apr 19 17:50:24 PDT 1989
*/
#include <dpsclient/dpsfriends.h>
#include <string.h>
#line 1 "HostFontWraps.psw"
#line 10 "HostFontWraps.c"
void psHostFontRun()
{
typedef struct {
unsigned char tokenType;
unsigned char topLevelCount;
unsigned short nBytes;
DPSBinObjGeneric obj0;
DPSBinObjGeneric obj1;
DPSBinObjGeneric obj2;
DPSBinObjGeneric obj3;
DPSBinObjGeneric obj4;
DPSBinObjGeneric obj5;
DPSBinObjGeneric obj6;
DPSBinObjGeneric obj7;
DPSBinObjGeneric obj8;
DPSBinObjGeneric obj9;
DPSBinObjGeneric obj10;
DPSBinObjGeneric obj11;
DPSBinObjGeneric obj12;
DPSBinObjGeneric obj13;
DPSBinObjGeneric obj14;
DPSBinObjGeneric obj15;
DPSBinObjGeneric obj16;
DPSBinObjGeneric obj17;
DPSBinObjGeneric obj18;
DPSBinObjGeneric obj19;
DPSBinObjGeneric obj20;
DPSBinObjGeneric obj21;
DPSBinObjGeneric obj22;
DPSBinObjGeneric obj23;
DPSBinObjGeneric obj24;
DPSBinObjGeneric obj25;
DPSBinObjGeneric obj26;
DPSBinObjGeneric obj27;
DPSBinObjGeneric obj28;
DPSBinObjGeneric obj29;
DPSBinObjGeneric obj30;
DPSBinObjGeneric obj31;
DPSBinObjGeneric obj32;
DPSBinObjGeneric obj33;
DPSBinObjGeneric obj34;
DPSBinObjGeneric obj35;
DPSBinObjGeneric obj36;
DPSBinObjGeneric obj37;
DPSBinObjGeneric obj38;
DPSBinObjGeneric obj39;
DPSBinObjGeneric obj40;
DPSBinObjGeneric obj41;
DPSBinObjGeneric obj42;
DPSBinObjGeneric obj43;
DPSBinObjGeneric obj44;
DPSBinObjGeneric obj45;
DPSBinObjGeneric obj46;
DPSBinObjGeneric obj47;
DPSBinObjGeneric obj48;
DPSBinObjGeneric obj49;
DPSBinObjGeneric obj50;
DPSBinObjGeneric obj51;
DPSBinObjGeneric obj52;
DPSBinObjGeneric obj53;
DPSBinObjGeneric obj54;
DPSBinObjGeneric obj55;
DPSBinObjGeneric obj56;
DPSBinObjGeneric obj57;
DPSBinObjGeneric obj58;
DPSBinObjGeneric obj59;
DPSBinObjGeneric obj60;
DPSBinObjGeneric obj61;
DPSBinObjGeneric obj62;
DPSBinObjGeneric obj63;
DPSBinObjGeneric obj64;
DPSBinObjGeneric obj65;
DPSBinObjGeneric obj66;
DPSBinObjGeneric obj67;
DPSBinObjGeneric obj68;
DPSBinObjGeneric obj69;
DPSBinObjGeneric obj70;
DPSBinObjGeneric obj71;
DPSBinObjGeneric obj72;
DPSBinObjGeneric obj73;
DPSBinObjGeneric obj74;
DPSBinObjGeneric obj75;
DPSBinObjGeneric obj76;
DPSBinObjGeneric obj77;
DPSBinObjGeneric obj78;
DPSBinObjGeneric obj79;
DPSBinObjGeneric obj80;
DPSBinObjGeneric obj81;
DPSBinObjGeneric obj82;
DPSBinObjGeneric obj83;
DPSBinObjGeneric obj84;
DPSBinObjGeneric obj85;
DPSBinObjGeneric obj86;
DPSBinObjGeneric obj87;
DPSBinObjGeneric obj88;
DPSBinObjGeneric obj89;
DPSBinObjGeneric obj90;
DPSBinObjGeneric obj91;
} _dpsQ;
static _dpsQ _dpsF = {
DPS_DEF_TOKENTYPE, 70, 740,
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* xdim */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* ydim */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* name */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* brand */
{DPS_EXEC|DPS_ARRAY, 0, 4, 704},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* maxfonts */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* num */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 198}, /* SharedFontDirectory */
{DPS_EXEC|DPS_ARRAY, 0, 7, 648},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 73}, /* forall */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* num */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, DPSSYSNAME, 32}, /* currentfont */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* fnames */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* maxfonts */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 9}, /* array */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* num */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 198}, /* SharedFontDirectory */
{DPS_EXEC|DPS_ARRAY, 0, 11, 560},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 73}, /* forall */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* xdim */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* brand */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* ydim */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* brand */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */
{DPS_LITERAL|DPS_INT, 0, 0, 360},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* brand */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 136}, /* rotate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 325}, /* rand */
{DPS_LITERAL|DPS_INT, 0, 0, 2147483647},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54}, /* div */
{DPS_LITERAL|DPS_INT, 0, 0, 1},
{DPS_LITERAL|DPS_INT, 0, 0, 1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 152}, /* sethsbcolor */
{DPS_LITERAL|DPS_INT, 0, 0, 40},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* brand */
{DPS_LITERAL|DPS_INT, 0, 0, 40},
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* brand */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* fnames */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* maxfonts */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* brand */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 44}, /* cvi */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 75}, /* get */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 67}, /* findfont */
{DPS_LITERAL|DPS_INT, 0, 0, 12},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 140}, /* scalefont */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 149}, /* setfont */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* name */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 160}, /* show */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* flushgraphics */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 117}, /* pop */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* fnames */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* num */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 120}, /* put */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* num */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* num */
{DPS_LITERAL|DPS_INT, 0, 0, 1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1}, /* add */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 117}, /* pop */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 117}, /* pop */
{DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* num */
{DPS_EXEC|DPS_NAME, 0, 0, 0}, /* num */
{DPS_LITERAL|DPS_INT, 0, 0, 1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1}, /* add */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 325}, /* rand */
{DPS_LITERAL|DPS_INT, 0, 0, 2147483647},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54}, /* div */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 108}, /* mul */
}; /* _dpsQ */
register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
{
static int _dpsT = 1;
if (_dpsT) {
static char *_dps_names[] = {
"xdim",
(char *) 0 ,
"ydim",
(char *) 0 ,
"name",
(char *) 0 ,
"brand",
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
"maxfonts",
(char *) 0 ,
(char *) 0 ,
"num",
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
(char *) 0 ,
"fnames",
(char *) 0 ,
(char *) 0 ,
"flushgraphics"};
long int *_dps_nameVals[28];
_dps_nameVals[0] = (long int *)&_dpsP[0].val.nameVal;
_dps_nameVals[1] = (long int *)&_dpsP[35].val.nameVal;
_dps_nameVals[2] = (long int *)&_dpsP[3].val.nameVal;
_dps_nameVals[3] = (long int *)&_dpsP[37].val.nameVal;
_dps_nameVals[4] = (long int *)&_dpsP[6].val.nameVal;
_dps_nameVals[5] = (long int *)&_dpsP[66].val.nameVal;
_dps_nameVals[6] = (long int *)&_dpsP[9].val.nameVal;
_dps_nameVals[7] = (long int *)&_dpsP[59].val.nameVal;
_dps_nameVals[8] = (long int *)&_dpsP[55].val.nameVal;
_dps_nameVals[9] = (long int *)&_dpsP[53].val.nameVal;
_dps_nameVals[10] = (long int *)&_dpsP[44].val.nameVal;
_dps_nameVals[11] = (long int *)&_dpsP[38].val.nameVal;
_dps_nameVals[12] = (long int *)&_dpsP[36].val.nameVal;
_dps_nameVals[13] = (long int *)&_dpsP[12].val.nameVal;
_dps_nameVals[14] = (long int *)&_dpsP[58].val.nameVal;
_dps_nameVals[15] = (long int *)&_dpsP[25].val.nameVal;
_dps_nameVals[16] = (long int *)&_dpsP[13].val.nameVal;
_dps_nameVals[17] = (long int *)&_dpsP[84].val.nameVal;
_dps_nameVals[18] = (long int *)&_dpsP[83].val.nameVal;
_dps_nameVals[19] = (long int *)&_dpsP[77].val.nameVal;
_dps_nameVals[20] = (long int *)&_dpsP[76].val.nameVal;
_dps_nameVals[21] = (long int *)&_dpsP[73].val.nameVal;
_dps_nameVals[22] = (long int *)&_dpsP[28].val.nameVal;
_dps_nameVals[23] = (long int *)&_dpsP[19].val.nameVal;
_dps_nameVals[24] = (long int *)&_dpsP[24].val.nameVal;
_dps_nameVals[25] = (long int *)&_dpsP[71].val.nameVal;
_dps_nameVals[26] = (long int *)&_dpsP[57].val.nameVal;
_dps_nameVals[27] = (long int *)&_dpsP[68].val.nameVal;
DPSMapNames(_dpsCurCtxt, 28, _dps_names, _dps_nameVals);
_dpsT = 0;
}
}
DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,740);
}
#line 23 "HostFontWraps.psw"
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.