Go to the documentation of this file.
27 # warning Please use <FTGL/ftgl.h> instead of <FTBufferFont.h>.
31 #ifndef __FTBufferFont__
32 #define __FTBufferFont__
62 size_t bufferSizeInBytes);
98 #endif // __FTBufferFont__
FTGlyph is the base class for FTGL glyphs.
FTBufferFont(const char *fontFilePath)
Open and read a font file.
FTGLfont * ftglCreateBufferFont(const char *file)
Create a specialised FTGLfont object for handling memory buffer fonts.
struct _FTGLfont FTGLfont
#define FTGL_BEGIN_C_DECLS
~FTBufferFont()
Destructor.
FTFont is the public interface for the FTGL library.
FTBufferFont is a specialisation of the FTFont class for handling memory buffer fonts.
virtual FTGlyph * MakeGlyph(FT_GlyphSlot slot)
Construct a glyph of the correct type.
FTBufferFont(const unsigned char *pBufferBytes, size_t bufferSizeInBytes)
Open and read a font from a buffer in memory.