From db81115d91dfbcacf246e32f2d257eeb1fc03322 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 26 Apr 2002 09:32:20 +0000 Subject: fixed m_multibyte --- src/Font.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -//$Id: Font.cc,v 1.4 2002/03/27 18:47:44 fluxgen Exp $ +//$Id: Font.cc,v 1.5 2002/04/26 09:32:20 fluxgen Exp $ #include "Font.hh" @@ -42,6 +42,7 @@ #ifdef HAVE_SETLOCALE #include #endif //HAVE_SETLOCALE +#include "i18n.hh" namespace FbTk { @@ -53,6 +54,8 @@ m_display(display) { m_font.fontstruct = 0; m_font.set_extents = 0; m_font.set = 0; + //TODO: should only be done once + m_multibyte = I18n::instance()->multibyte(); if (name!=0) { load(name); } -- cgit v0.11.2