Represents an instance of a font at a point size. Implicitly shared object.


Public Member Functions

  • const std::string &
    getName () const
  • std::string
    getFullName () const
  • float
    getSize () const
  • float
    getLeading () const
  • float
    getAscent () const
  • float
    getDescent () const
  • size_t
    getNumGlyphs () const
  • getGlyphIndex (size_t idx) const
  • getGlyphChar (char utf8Char) const
  • std::vector< Glyph >
    getGlyphs (const std::string &utf8String) const
  • CGFontRef
    getCgFontRef () const
  • CTFontRef
    getCtFontRef () const

Static Public Member Functions

  • const std::vector< std::string > &
    getNames (bool forceRefresh=false)
  • getDefault ()