|
| FTOutlineFont (const char *fontFilePath) |
| Open and read a font file.
|
|
| FTOutlineFont (const unsigned char *pBufferBytes, size_t bufferSizeInBytes) |
| Open and read a font from a buffer in memory.
|
|
| ~FTOutlineFont () |
| Destructor.
|
|
virtual | ~FTFont () |
|
virtual bool | Attach (const char *fontFilePath) |
| Attach auxilliary file to font e.g font metrics.
|
|
virtual bool | Attach (const unsigned char *pBufferBytes, size_t bufferSizeInBytes) |
| Attach auxilliary data to font e.g font metrics, from memory.
|
|
virtual void | GlyphLoadFlags (FT_Int flags) |
| Set the glyph loading flags.
|
|
virtual bool | CharMap (FT_Encoding encoding) |
| Set the character map for the face.
|
|
virtual unsigned int | CharMapCount () const |
| Get the number of character maps in this face.
|
|
virtual FT_Encoding * | CharMapList () |
| Get a list of character maps in this face.
|
|
virtual bool | FaceSize (const unsigned int size, const unsigned int res=72) |
| Set the char size for the current face.
|
|
virtual unsigned int | FaceSize () const |
| Get the current face size in points (1/72 inch).
|
|
virtual void | Depth (float depth) |
| Set the extrusion distance for the font.
|
|
virtual void | Outset (float outset) |
| Set the outset distance for the font.
|
|
virtual void | Outset (float front, float back) |
| Set the front and back outset distances for the font.
|
|
virtual void | UseDisplayList (bool useList) |
| Enable or disable the use of Display Lists inside FTGL.
|
|
virtual float | Ascender () const |
| Get the global ascender height for the face.
|
|
virtual float | Descender () const |
| Gets the global descender height for the face.
|
|
virtual float | LineHeight () const |
| Gets the line spacing for the font.
|
|
virtual FTBBox | BBox (const char *string, const int len=-1, FTPoint position=FTPoint(), FTPoint spacing=FTPoint()) |
| Get the bounding box for a string.
|
|
void | BBox (const char *string, float &llx, float &lly, float &llz, float &urx, float &ury, float &urz) |
| Get the bounding box for a string (deprecated).
|
|
virtual FTBBox | BBox (const wchar_t *string, const int len=-1, FTPoint position=FTPoint(), FTPoint spacing=FTPoint()) |
| Get the bounding box for a string.
|
|
void | BBox (const wchar_t *string, float &llx, float &lly, float &llz, float &urx, float &ury, float &urz) |
| Get the bounding box for a string (deprecated).
|
|
virtual float | Advance (const char *string, const int len=-1, FTPoint spacing=FTPoint()) |
| Get the advance for a string.
|
|
virtual float | Advance (const wchar_t *string, const int len=-1, FTPoint spacing=FTPoint()) |
| Get the advance for a string.
|
|
virtual FTPoint | Render (const char *string, const int len=-1, FTPoint position=FTPoint(), FTPoint spacing=FTPoint(), int renderMode=FTGL::RENDER_ALL) |
| Render a string of characters.
|
|
virtual FTPoint | Render (const wchar_t *string, const int len=-1, FTPoint position=FTPoint(), FTPoint spacing=FTPoint(), int renderMode=FTGL::RENDER_ALL) |
| Render a string of characters.
|
|
virtual FT_Error | Error () const |
| Queries the Font for errors.
|
|
FTOutlineFont is a specialisation of the FTFont class for handling Vector Outline fonts.
- See also
- FTFont
Definition at line 45 of file FTGLOutlineFont.h.