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