From 652aa99bd5fddbb4ee878ddd65ac637a134dbcbc Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 13 Jul 2004 06:20:33 +0000 Subject: Fixed font bug + adding fixed font --- lib/engine.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/engine.cc') diff --git a/lib/engine.cc b/lib/engine.cc index a52aa1b..357de32 100644 --- a/lib/engine.cc +++ b/lib/engine.cc @@ -115,10 +115,13 @@ int mogltk::engine::postsetup() throw(GeneralException) { postsetuped = true; - if (glbase_o) + if (glbase_o) { mogltk::SystemFont = new mogltk::glfont(&Input("font.bin")); - else + mogltk::FixedFont = new mogltk::glfont(&Input("fixed-font.bin")); + } else { mogltk::SystemFont = new mogltk::font(&Input("font.bin")); + mogltk::FixedFont = new mogltk::font(&Input("fixed-font.bin")); + } return 0; } -- cgit v1.2.3