17 |
|
|
18 |
|
extern char *libpath; /* list of library directories */ |
19 |
|
|
20 |
+ |
extern char *fgetword(); |
21 |
+ |
|
22 |
|
static FONT *fontlist = NULL; /* list of loaded fonts */ |
23 |
|
|
24 |
|
|
32 |
|
unsigned wsum, hsum, ngly; |
33 |
|
int gn, ngv; |
34 |
|
register int gv; |
35 |
< |
register GLYPH *g; |
35 |
> |
register GLYPH *g; |
36 |
|
GORD *gp; |
37 |
|
register FONT *f; |
38 |
|
|
126 |
|
|
127 |
|
int |
128 |
|
uniftext(sp, tp, f) /* uniformly space text line */ |
129 |
< |
register short *sp; /* returned character spacing */ |
129 |
> |
register short *sp; /* returned character spacing */ |
130 |
|
register char *tp; /* text line */ |
131 |
|
register FONT *f; /* font */ |
132 |
|
{ |
150 |
|
int cis; /* intercharacter spacing */ |
151 |
|
{ |
152 |
|
int linelen; |
153 |
< |
register GLYPH *gp; |
153 |
> |
register GLYPH *gp; |
154 |
|
|
155 |
|
gp = NULL; |
156 |
|
while (*tp && (gp = f->fg[*tp++&0xff]) == NULL) |