OSL_FONT_FORMAT_HEADER Struct Reference

#include <text.h>

Data Fields

char strVersion [12]
 "OSLFont v01"
 
unsigned char pixelFormat
 Number of bits per pixel (1 = 1 bit, default)
 
unsigned char variableWidth
 If true, the first 256 bytes of data specify the character widths.
 
int charHeight
 Mean character sizes (used for the console)
 
int lineWidth
 Number of bytes of data per line.
 
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
 Text palette data.
 
unsigned char reserved [29]
 Must be null (reserved)
 

Detailed Description

Header of a .oft file (Oslib FonT)


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