summaryrefslogtreecommitdiff
path: root/dviware/beebe/src/getfntdf.h
blob: 8dc9e9809dc70f5cfc186cd83c23c4b8eddfc432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* -*-C-*- getfntdf.h */
/*-->getfntdf*/
/**********************************************************************/
/****************************** getfntdf ******************************/
/**********************************************************************/

void
getfntdf()

/***********************************************************************
Read the font definitions as they are in the postamble of the DVI  file.
Note that the font directory is not yet loaded.
***********************************************************************/

{
    register BYTE    byte;

    while (((byte = (BYTE)nosignex(dvifp,(BYTE)1)) >= FNT_DEF1)
	&& (byte <= FNT_DEF4))
	readfont ((INT32)nosignex(dvifp,(BYTE)(byte-FNT_DEF1+1)));
    if (byte != POST_POST)
	(void)fatal ("getfntdf():  POST_POST missing after fontdefs");
}