diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-27 08:19:58 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-27 08:19:58 -0700 |
commit | 9eb97160a7ea052054cbaa5fdf98352453a51c02 (patch) | |
tree | b15b27101a4175b5816cc13f02950b0c6ec642b8 /src | |
parent | 27bcefc3d3730199f01e9a7972326ca0f62d33af (diff) | |
download | mana-9eb97160a7ea052054cbaa5fdf98352453a51c02.tar.gz mana-9eb97160a7ea052054cbaa5fdf98352453a51c02.tar.bz2 mana-9eb97160a7ea052054cbaa5fdf98352453a51c02.tar.xz mana-9eb97160a7ea052054cbaa5fdf98352453a51c02.zip |
Added font size config for the bold font as well.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui.cpp | 3 |
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) { |