Spa.SPAFontMeta Class Reference

Detailed Description

Use one of these when creating a bitmap font.

Public Member Functions

 SPAFontMeta (SPAReader reader)
 Loads this font meta. More...
 

Public Attributes

int Ascender
 The ascender. Gap between the baseline and the top of the line. More...
 
int Descender
 The descender. Gap between the bottom of the line and the baseline. More...
 
bool Italic
 Italic font? More...
 
bool Oblique
 Oblique font? More...
 
bool Regular
 The regular font? More...
 
int Weight =400
 Font weight. Can change Bold instead. (they both mean the same thing, but one is more flexible) Traditionally, 400 is "normal", 700 is bold. More...
 
string FamilyName
 The family this font face belongs to. More...
 

Constructor & Destructor Documentation

Spa.SPAFontMeta.SPAFontMeta ( SPAReader  reader)
inline

Loads this font meta.

Member Data Documentation

int Spa.SPAFontMeta.Ascender

The ascender. Gap between the baseline and the top of the line.

int Spa.SPAFontMeta.Descender

The descender. Gap between the bottom of the line and the baseline.

string Spa.SPAFontMeta.FamilyName

The family this font face belongs to.

bool Spa.SPAFontMeta.Italic

Italic font?

bool Spa.SPAFontMeta.Oblique

Oblique font?

bool Spa.SPAFontMeta.Regular

The regular font?

int Spa.SPAFontMeta.Weight =400

Font weight. Can change Bold instead. (they both mean the same thing, but one is more flexible) Traditionally, 400 is "normal", 700 is bold.