#include #define MAX_ROWS 2 #define DAT_SIZE MAX_ROWS*40*8 char pi1[32066], *pi1_ptr, dst[40*8*2]; int main(void) { FILE *fin, *fout; char bla[10]; int r; /* i */ fin=fopen("font882c.pi1", "r"); fout=fopen("fnt882c.dat", "w"); fread(pi1, 1, 32066, fin); /* p */ pi1_ptr=pi1+34+2; /* plane 1, not 0 */ for (r=0; r