Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GFontSystem Class Reference

Overall font system class. More...

#include <GFont.h>

List of all members.

Public Member Functions

bool EnumerateFonts (List< char > &Fonts)
 Enumerate all installed fonts.
bool GetGlyphSubSupport ()
 Returns whether the current Lgi implementation supports glyph sub.
bool GetDefaultGlyphSub ()
 Returns whether glyph sub is currently turned on.
void SetDefaultGlyphSub (bool i)
 Turns the glyph sub feature on or off.
GFontGetGlyph (int u, GFont *UserFont)
 Returns a font that can render the specified unicode code point.
GFontGetBestFont (char *Str)

Static Public Member Functions

static GFontSystemInst ()
 Get a pointer to the font system.

Friends

class GApp
class GDisplayString


Detailed Description

Overall font system class.


Member Function Documentation

GFont * GFontSystem::GetBestFont char *  Str  ) 
 

This looks for a font that can contains the most glyphs for a given string, ideally it can render the whole thing. But the next best alternative is returned when no font matches all characters in the string.

GFont * GFontSystem::GetGlyph int  u,
GFont UserFont
 

Returns a font that can render the specified unicode code point.

Parameters:
u  A utf-32 character
UserFont  The base font used for rendering


The documentation for this class was generated from the following files:
Generated on Wed Oct 26 14:46:59 2005 for Lgi by  doxygen 1.4.1