From 9eb97160a7ea052054cbaa5fdf98352453a51c02 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Tue, 27 Jan 2009 08:19:58 -0700 Subject: Added font size config for the bold font as well. Signed-off-by: Ira Rice --- src/gui/gui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index ac9b10bf..642e916b 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -120,7 +120,8 @@ Gui::Gui(Graphics *graphics): // Set bold font path = resman->getPath("fonts/dejavusans-bold.ttf"); try { - boldFont = new TrueTypeFont(path, 11); + const int fontSize = config.getValue("fontSize", 11); + boldFont = new TrueTypeFont(path, fontSize); } catch (gcn::Exception e) { -- cgit v1.2.3-70-g09d2