shithub: riscv

ref: 699d2e0ed94bd545bb3dd8c64a3922f56f273f0e
dir: /sys/src/cmd/tcs/font/hdr.h/

View raw version
typedef Bitmap *readbitsfn(char *, int, long *, int, uchar *, int **);
typedef void mapfn(int, int, long *);

extern Bitmap *kreadbits(char *file, int nc, long *chars, int size, uchar *bits, int **);
extern void kmap(int from, int to, long *chars);
extern Bitmap *breadbits(char *file, int nc, long *chars, int size, uchar *bits, int **);
extern void bmap(int from, int to, long *chars);
extern Bitmap *greadbits(char *file, int nc, long *chars, int size, uchar *bits, int **);
extern void gmap(int from, int to, long *chars);
extern Bitmap *qreadbits(char *file, int nc, long *chars, int size, uchar *bits, int **);
extern Subfont *bf(int n, int size, Bitmap *b, int *);