40 #ifndef INCLUDED_GLS_FONT_MAN_H
41 #define INCLUDED_GLS_FONT_MAN_H
50 #define GLS_UNICODE_FONT_NAME_PREFIX "$$GLS_UNICODE_FONT$$"
53 #define GLS_RUNTIME_FONT_NAME_PREFIX "$$GLS_RUNTIME_FONT$$"
80 const std::string& name,
81 const std::string& style,
82 GLuint ptSize )
const;
122 FontRef_t(
GlsFontBase* newFont, GLint initialCount )
124 , refCount( initialCount )
128 typedef std::map<std::string, FontRef_t> FontMap_t;
139 GlsFontMan(
const GlsFontMan& );
140 GlsFontMan& operator=(
const GlsFontMan& );
GlsFontBase * Font(const std::string &name, const std::string &style, GLuint ptSize) const
Hold global objects so we can control order of destruction.
Definition: util.h:1493
void Use(GlsFontBase *font)
void Release(GlsFontBase *font)
static GlsFontMan & Instance()
Definition: gls_font_man.h:59
Definition: bmpimage.h:46
void Register(GlsFontBase *font)
Definition: gls_font_base.h:85