summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-27 08:19:58 -0700
committerIra Rice <irarice@gmail.com>2009-01-27 08:19:58 -0700
commit9eb97160a7ea052054cbaa5fdf98352453a51c02 (patch)
treeb15b27101a4175b5816cc13f02950b0c6ec642b8 /src/gui
parent27bcefc3d3730199f01e9a7972326ca0f62d33af (diff)
downloadmana-client-9eb97160a7ea052054cbaa5fdf98352453a51c02.tar.gz
mana-client-9eb97160a7ea052054cbaa5fdf98352453a51c02.tar.bz2
mana-client-9eb97160a7ea052054cbaa5fdf98352453a51c02.tar.xz
mana-client-9eb97160a7ea052054cbaa5fdf98352453a51c02.zip
Added font size config for the bold font as well.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui.cpp3
1 files changed, 2 insertions, 1 deletions
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)
{