OSL_FONT Struct Reference

#include <text.h>

Data Fields

OSL_IMAGEimg
 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 (pour savoir s'il faut libérer charWidth)
 
int charHeight
 Height of characters (constant)
 
int recentrage
 Add this to text positions when drawing it (à ajouter aux positions pour le dessin du texte)
 
unsigned char addedSpace
 Space added between characters on the texture (allows to make characters bigger than indicated by charWidths)
 
int fontType
 Font type (OSL_FONT_OFT or OSL_FONT_INTRA)
 
intraFont * intra
 IntraFont data.
 

Detailed Description

Loaded font


The documentation for this struct was generated from the following file: