home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
NETWORK
/
netpbm_src.lzh
/
NETPBM
/
PBM
/
pbmfont.h
< prev
next >
Wrap
Text File
|
1996-11-18
|
734b
|
28 lines
/* 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 ));