TrueTypeFontT::FontInfoT::FontInfoT |
( |
const std::string & |
FontName, |
|
|
int |
SizeInPixels_ |
|
) |
| |
The constructor.
- Exceptions
-
TextParserT::ParseErrorT | if the cfont file for the desired pixel size could not be successfully opened and parsed. |
TrueTypeFontT::FontInfoT::~FontInfoT |
( |
| ) |
|
float cf::TrueTypeFontT::FontInfoT::Ascender |
The highest coordinate above the baseline in this font face, in pixels.
unsigned long cf::TrueTypeFontT::FontInfoT::CharToGlyphIndex[256] |
Maps each ASCII character to the index into GlyphInfos of its related GlyphInfoT.
float cf::TrueTypeFontT::FontInfoT::Descender |
The lowest coordinate above the baseline in this font face, in pixels.
The GlyphInfos for this font.
float cf::TrueTypeFontT::FontInfoT::Height |
The height of this font face, in pixels. Usually larger than Ascender-Descender, as this is to be used as the default value for the line spacing ("line gap").
ArrayT< std::map<int, float> > cf::TrueTypeFontT::FontInfoT::KerningTable |
The kerning table, expressed as a "half-sparse" matrix.
The materials with the larger bitmaps that contain the glyphs.
The render materials matching the Materials array.
float cf::TrueTypeFontT::FontInfoT::SizeInPixels |
The size of this font in pixels, i.e. 12, 24 or 48.
The documentation for this class was generated from the following files: