diff options
Diffstat (limited to 'src/Font.cc')
-rw-r--r-- | src/Font.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Font.cc b/src/Font.cc index 7e4a5ac..dd1dc2a 100644 --- a/src/Font.cc +++ b/src/Font.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | //$Id: Font.cc,v 1.4 2002/03/27 18:47:44 fluxgen Exp $ | 22 | //$Id: Font.cc,v 1.5 2002/04/26 09:32:20 fluxgen Exp $ |
23 | 23 | ||
24 | 24 | ||
25 | #include "Font.hh" | 25 | #include "Font.hh" |
@@ -42,6 +42,7 @@ | |||
42 | #ifdef HAVE_SETLOCALE | 42 | #ifdef HAVE_SETLOCALE |
43 | #include <locale.h> | 43 | #include <locale.h> |
44 | #endif //HAVE_SETLOCALE | 44 | #endif //HAVE_SETLOCALE |
45 | #include "i18n.hh" | ||
45 | 46 | ||
46 | namespace FbTk | 47 | namespace FbTk |
47 | { | 48 | { |
@@ -53,6 +54,8 @@ m_display(display) { | |||
53 | m_font.fontstruct = 0; | 54 | m_font.fontstruct = 0; |
54 | m_font.set_extents = 0; | 55 | m_font.set_extents = 0; |
55 | m_font.set = 0; | 56 | m_font.set = 0; |
57 | //TODO: should only be done once | ||
58 | m_multibyte = I18n::instance()->multibyte(); | ||
56 | if (name!=0) { | 59 | if (name!=0) { |
57 | load(name); | 60 | load(name); |
58 | } | 61 | } |