All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GU_Font Class Reference

#include <GU_Font.h>

Public Member Functions

 GU_Font ()
 ~GU_Font ()
bool loadFont (UT_IStream &is, int face_index=0)
void buildText (GU_Detail &gdp, const UT_String &text, const GU_FontBuildOptions &opts)
bool isValid () const
const char * getFontName () const

Detailed Description

Definition at line 83 of file GU_Font.h.

Constructor & Destructor Documentation

GU_Font::GU_Font ( )
GU_Font::~GU_Font ( )

Member Function Documentation

void GU_Font::buildText ( GU_Detail gdp,
const UT_String text,
const GU_FontBuildOptions opts 
const char* GU_Font::getFontName ( ) const
bool GU_Font::isValid ( ) const
bool GU_Font::loadFont ( UT_IStream is,
int  face_index = 0 

Loads a TrueType, OpenType or Adobe Type-1 font from the given stream and initializes with the given face index. Usually this index should be left at zero, but for font collections (.ttc / .otc) this value refers to the index of the font within the collection (see FONT_Info::faceIndex)

The documentation for this class was generated from the following file: