typedef struct bogl_font {
char *name; /* Font name. */
int height; /* Height in pixels. */
+ int spacing; /* Vertical spacing in pixels. */
unsigned long *content; /* 32-bit right-padded bitmap array. */
short *offset; /* 256 offsets into content. */
unsigned char *width; /* 256 character widths. */
int Surface::getFontHeight()
{
- return font->height;
+ return font->spacing;
}
void Surface::screenShot(char* fileName)
typedef struct bogl_font {
char *name; /* Font name. */
int height; /* Height in pixels. */
+ int spacing; /* Vertical spacing in pixels. */
unsigned long *content; /* 32-bit right-padded bitmap array. */
short *offset; /* 256 offsets into content. */
unsigned char *width; /* 256 character widths. */