| 18 | |
| 19 | |
| 20 | void FontDebugPrintBitmap(uint8_t* bitmap, int w, int h) |
| 21 | { |
| 22 | printf("--------------------------------------------\n"); |
| 23 | for (int j=0; j < h; ++j) |
| 24 | { |
| 25 | putchar('|'); |
| 26 | for (int i=0; i < w; ++i) |
| 27 | { |
| 28 | putchar(" .:ioVM@"[bitmap[j*w+i]>>5]); |
| 29 | } |
| 30 | putchar('|'); |
| 31 | putchar('\n'); |
| 32 | } |
| 33 | printf("--------------------------------------------\n"); |
| 34 | } |
| 35 | |
| 36 | void* FontReadFile(const char* path, uint32_t* file_size) |
| 37 | { |