Home
last modified time | relevance | path

Searched refs:fontbase (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/troff/troff.d/
H A Dt10.c93 struct Font *fontbase[NFONT+1]; variable
135 fontbase[i] = (struct Font *) p; in ptinit()
137 fontlab[i] = PAIR(fontbase[i]->namefont[0], fontbase[i]->namefont[1]); in ptinit()
139 if (smnt == 0 && fontbase[i]->specfont == 1) in ptinit()
148 fontbase[0] = (struct Font *) p; /* the last shall be first */ in ptinit()
149 fontbase[0]->nwfont = EXTRAFONT - dev.nchtab - (128-32) - sizeof (struct Font); in ptinit()
587 if (fontbase[i]->namefont && fontbase[i]->namefont[0]) in newpage()
588 fdprintf(ptid, "x font %d %s\n", i, fontbase[i]->namefont); in newpage()
H A Dt6.c55 extern struct Font *fontbase[NFONT+1];
214 ncf = fontbase[xfont]->nwfont & BYTEMASK; in abscw()
623 if ((lf = fontbase[fbits(i)]->ligfont) == 0) /* font lacks ligatures */
706 n = fontbase[pos]->nwfont & BYTEMASK;
707 read(k, (char *) fontbase[pos], 3*n + nchtab + 128 - 32 + sizeof(struct Font));
708 kerntab[pos] = (char *) fontab[pos] + (fontbase[pos]->nwfont & BYTEMASK);
710 fitab[pos] = (char *) fontab[pos] + 3 * (fontbase[pos]->nwfont & BYTEMASK);
711 if ((fontbase[pos]->nwfont & BYTEMASK) > n) {
716 fontbase[pos]->nwfont = n; /* so can load a larger one again later */
H A Dta.c108 struct font *fontbase[NFONT]; variable
/titanic_41/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddpost.c348 struct Font *fontbase[NFONT+1]; /* FONT.out files begin this way */ variable
1382 fontbase[i] = NULL; in fontinit()
1419 if ( fontbase[n] != NULL && strcmp(s, fontbase[n]->namefont) == 0 ) in loadfont()
1432 if ( fontbase[n] != NULL ) /* something's already there */ in loadfont()
1433 free(fontbase[n]); /* so release the memory first */ in loadfont()
1435 fontbase[n] = (struct Font *) malloc(fsize); in loadfont()
1436 if ( fontbase[n] == NULL ) in loadfont()
1439 read(fin, fontbase[n], fsize); in loadfont()
1442 if ( smnt == 0 && fontbase[n]->specfont == 1 ) in loadfont()
1445 nw = fontbase[n]->nwfont & BMASK; in loadfont()
[all …]