diff options
Diffstat (limited to 'src/FbTk/Font.cc')
-rw-r--r-- | src/FbTk/Font.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/FbTk/Font.cc b/src/FbTk/Font.cc index e2e3dec..c7193f7 100644 --- a/src/FbTk/Font.cc +++ b/src/FbTk/Font.cc | |||
@@ -229,9 +229,14 @@ namespace FbTk { | |||
229 | bool Font::m_multibyte = false; | 229 | bool Font::m_multibyte = false; |
230 | bool Font::m_utf8mode = false; | 230 | bool Font::m_utf8mode = false; |
231 | 231 | ||
232 | // some initialisation for using fonts | 232 | |
233 | void fontInit() { | 233 | void Font::init() { |
234 | setlocale(LC_CTYPE, ""); | 234 | // must be set before the first XFontSet is created |
235 | setlocale(LC_CTYPE, ""); | ||
236 | } | ||
237 | |||
238 | void Font::shutdown() { | ||
239 | |||
235 | } | 240 | } |
236 | 241 | ||
237 | Font::Font(const char *name, bool antialias): | 242 | Font::Font(const char *name, bool antialias): |