/* pbmfont.h - header file for font routines in libpbm */ struct glyph { int width, height; int x, y; int xadd; char* bmap; }; struct font { int maxwidth, maxheight; int x, y; struct glyph* glyph[256]; /* for compatibility with old pbmtext routines */ /* oldfont is 0 if the font is BDF derived */ bit** oldfont; int fcols, frows; }; struct font* pbm_defaultfont ARGS(( char* which )); struct font* pbm_dissectfont ARGS(( bit** font, int frows, int fcols )); struct font* pbm_loadfont ARGS(( char* filename )); struct font* pbm_loadpbmfont ARGS(( char* filename )); struct font* pbm_loadbdffont ARGS(( char* filename )); void pbm_dumpfont ARGS(( struct font* fn )); int mk_argvn ARGS(( char* s, char* vec[], int max ));