OldSchool Library
|
Loaded font structure. More...
#include <text.h>
Data Fields | |
OSL_IMAGE * | img |
Image containing character sprites. | |
unsigned char * | charWidths |
Table containing the width of each character (256 entries). | |
unsigned short * | charPositions |
Position of characters in the image (16-bits: y:7, x:9). | |
int | isCharWidthConstant |
Internal (to determine if charWidth needs to be freed). | |
int | charWidth |
Width of characters. | |
int | charHeight |
Height of characters (constant). | |
int | recentrage |
Added to text positions when drawing. | |
unsigned char | addedSpace |
Space added between characters on the texture (allows making characters bigger than indicated by charWidths). | |
int | fontType |
Font type (OSL_FONT_OFT or OSL_FONT_INTRA). | |
intraFont * | intra |
IntraFont data. | |
Loaded font structure.
This struct represents a loaded font in OSLib, holding its image, character widths, positions, and other properties like font type and intraFont data.