Commit c4bc8d00 authored by Olivier Teulière's avatar Olivier Teulière

* skins2/src/bitmap_font.hpp: getHeight() now really returns the height of the

   font, and not always 12...
parent de341d2f
......@@ -46,7 +46,7 @@ class BitmapFont: public GenericFont
uint32_t color, int maxWidth = -1 ) const;
/// Get the font size
virtual int getSize() const { return 12; }
virtual int getSize() const { return m_height; }
private:
/// Description of a glyph
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment