64 |
|
int maxwidth; /* maximum line width (dvi) */ |
65 |
|
|
66 |
|
static void makemap(void); |
67 |
< |
static void gettext(FILE *fp); |
67 |
> |
static void get_text(FILE *fp); |
68 |
|
static void arg_text(int ac, char *av[]); |
69 |
|
static void maptext(void); |
70 |
|
static void mapglyph(GLYPH *gl, int tx0, int ty0); |
141 |
|
ourfont = getfont(fontfile); |
142 |
|
/* get text */ |
143 |
|
if (an == argc) |
144 |
< |
gettext(stdin); |
144 |
> |
get_text(stdin); |
145 |
|
else |
146 |
|
arg_text(argc-an, argv+an); |
147 |
|
|
218 |
|
if (ysiz % SSS) |
219 |
|
ysiz += SSS - ysiz%SSS; |
220 |
|
xdim = (xsiz+7)/8; |
221 |
< |
ourbitmap = (BYTE *)bmalloc(ysiz*xdim); |
221 |
> |
ourbitmap = (uby8 *)bmalloc(ysiz*xdim); |
222 |
|
if (ourbitmap == NULL) |
223 |
|
error(SYSTEM, "Out of memory in makemap"); |
224 |
|
memset((char *)ourbitmap, '\0', ysiz*xdim); |
226 |
|
|
227 |
|
|
228 |
|
static void |
229 |
< |
gettext( /* get text from a file */ |
229 |
> |
get_text( /* get text from a file */ |
230 |
|
FILE *fp |
231 |
|
) |
232 |
|
{ |
266 |
|
} |
267 |
|
return; |
268 |
|
memerr: |
269 |
< |
error(SYSTEM, "Out of memory in gettext"); |
269 |
> |
error(SYSTEM, "Out of memory in get_text"); |
270 |
|
} |
271 |
|
|
272 |
|
|