- int width = gfx.font[i].width;
- int height = gfx.font[i].height;
- int src_x = gfx.font[i].src_x + xpos * width;
- int src_y = gfx.font[i].src_y + ypos * height;
+ int width = gfx.font_bitmap_info[i].width;
+ int height = gfx.font_bitmap_info[i].height;
+ int src_x = gfx.font_bitmap_info[i].src_x + xpos * width;
+ int src_y = gfx.font_bitmap_info[i].src_y + ypos * height;