void set_texture(const Texture2D &);
void add_glyph(wchar_t, float, float, float, float, float, float, float, float, float);
float get_default_size() const { return default_size; }
+ float get_ascent() const { return ascent; }
+ float get_descent() const { return descent; }
float get_string_width(const std::string &) const;
float get_string_width(const std::wstring &) const;
void draw_glyph(wchar_t);
const Texture2D *tex;
bool own_tex;
float default_size;
+ float ascent;
+ float descent;
GlyphMap glyphs;
VertexArray varray;