#include <FTBufferFont.h>
Definition at line 43 of file FTBufferFont.h.
Public Member Functions | |
FTBufferFont (const char *fontFilePath) | |
Open and read a font file. | |
FTBufferFont (const unsigned char *pBufferBytes, size_t bufferSizeInBytes) | |
Open and read a font from a buffer in memory. | |
~FTBufferFont () | |
Destructor. | |
Protected Member Functions | |
virtual FTGlyph * | MakeGlyph (FT_GlyphSlot slot) |
Construct a glyph of the correct type. |
FTBufferFont::FTBufferFont | ( | const char * | fontFilePath | ) |
Open and read a font file.
Sets Error flag.
fontFilePath | font file path. |
FTBufferFont::FTBufferFont | ( | const unsigned char * | pBufferBytes, | |
size_t | bufferSizeInBytes | |||
) |
FTBufferFont::~FTBufferFont | ( | ) |
Destructor.
virtual FTGlyph* FTBufferFont::MakeGlyph | ( | FT_GlyphSlot | slot | ) | [protected, virtual] |