[DEBUG] correction of text size

This commit is contained in:
Edouard DUPIN 2013-11-14 07:49:09 +01:00
parent 9a9293a3fc
commit 905091d3fd
2 changed files with 2 additions and 2 deletions

2
external/etk vendored

@ -1 +1 @@
Subproject commit b946a5f7c6248e68972290033fffd56da6baefcc Subproject commit d2a3fcaa63f1d942fcaafb205b806b37ad804090

View File

@ -296,7 +296,7 @@ void ewol::Text::setFont(std::string _fontName, int32_t _fontSize) {
_fontName = ewol::getContext().getFontDefault().getName(); _fontName = ewol::getContext().getFontDefault().getName();
} }
_fontName += ":"; _fontName += ":";
_fontName += _fontSize; _fontName += std::to_string(_fontSize);
// link to new one // link to new one
m_font = ewol::TexturedFont::keep(_fontName); m_font = ewol::TexturedFont::keep(_fontName);
if (m_font == NULL) { if (m_font == NULL) {