- void set_texture(const Texture2D &);
- void add_glyph(unsigned, float, float, float, float, float, float, float, float, float);
- float get_default_size() const { return default_size; }
+ void set_texture(const Texture2D &);
+ const Texture2D &get_texture() const;
+
+ /** Adds a glyph to the font. There must not be an existing glyph with the
+ same code. */
+ void add_glyph(const Glyph &);
+ void set_kerning(unsigned, unsigned, float);
+
+ /** Returns the size used to generate the font texture. This serves as a
+ hint for obtaining the best quality when rendering strings. */
+ float get_native_size() const { return native_size; }
+