36 |
* * |
* * |
37 |
******************************************************************************/ |
******************************************************************************/ |
38 |
|
|
39 |
|
#include <stdio.h> |
40 |
|
#include <stdarg.h> |
41 |
|
|
42 |
#include "image.h" |
#include "image.h" |
43 |
#include "font.h" |
#include "font.h" |
481 |
0,0,1,0, |
0,0,1,0, |
482 |
0,0,1,0, |
0,0,1,0, |
483 |
0,0,1,0, |
0,0,1,0, |
484 |
0,1,1,0, |
0,0,1,0, |
485 |
|
0,1,1,0 }, |
486 |
|
|
|
0,0,1,0 }, |
|
487 |
{ 0,1,0,1, // ^ |
{ 0,1,0,1, // ^ |
488 |
0,0,0,0, |
0,0,0,0, |
489 |
0,0,0,0, |
0,0,0,0, |
534 |
{ |
{ |
535 |
va_list args; |
va_list args; |
536 |
char buf[FONT_BUF_SZ]; |
char buf[FONT_BUF_SZ]; |
537 |
size_t i; |
int i; |
538 |
|
|
539 |
va_start(args, fmt); |
va_start(args, fmt); |
540 |
vsprintf(buf, fmt, args); |
vsprintf(buf, fmt, args); |
541 |
|
|
542 |
for (i = 0; i < strlen(buf); i++) { |
for (i = 0; i < buf[i]; i++) { |
543 |
const char * font; |
const char * font; |
544 |
|
|
545 |
if (buf[i] >= '!' && buf[i] <= '@') |
if (buf[i] >= '!' && buf[i] <= '@') |