OSL_FONTINFO Struct Reference

#include <text.h>

Data Fields

void * fontdata
 Character image data.
 
short pixelFormat
 1 = 1 bit (default)
 
unsigned char * charWidths
 Width of characters.
 
int charWidth
 Default char width (if charWidths is NULL)
 
int charHeight
 Height of characters (constant)
 
int lineWidth
 Number of bytes of data per line.
 
int recentrage
 Added to text positions for drawing text (recentering)
 
unsigned char addedSpace
 Space added between the characters on the texture (allows to make characters graphically bigger than what indicated by charWidths)
 
unsigned short paletteCount
 Palette count.
 
unsigned long * paletteData
 Palette data.
 

Detailed Description

Font information type


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