19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: font.c,v 1.5 2004-03-22 22:36:23 edgomez Exp $ |
* $Id: font.c,v 1.7 2005-11-22 10:23:01 suxen_drol Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
561 |
|
|
562 |
#define FONT_ZOOM 4 |
#define FONT_ZOOM 4 |
563 |
|
|
564 |
void draw_num(IMAGE * img, const int stride, const int height, |
static void |
565 |
|
draw_num(IMAGE * img, const int stride, const int height, |
566 |
const char * font, const int x, const int y) |
const char * font, const int x, const int y) |
567 |
{ |
{ |
568 |
int i, j; |
int i, j; |
591 |
|
|
592 |
va_start(args, fmt); |
va_start(args, fmt); |
593 |
vsprintf(buf, fmt, args); |
vsprintf(buf, fmt, args); |
594 |
|
va_end(args); |
595 |
|
|
596 |
for (i = 0; i < buf[i]; i++) { |
for (i = 0; i < buf[i]; i++) { |
597 |
const char * font; |
const char * font; |