summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index f38bb1b4..0ed123e3 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -82,26 +82,26 @@ Gui::Gui(Graphics *graphics)
// Set global font
try {
guiFont = new gcn::ImageFont(
- TMW_DATADIR "data/graphics/gui/fixedfont.png",
- " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567"
- "89:@!\"$%&/=?^+*#[]{}()<>_;'.,\\|-~`ψε"
+ TMW_DATADIR "data/graphics/gui/sansserif8.png",
+ " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ["
+ "\\]^_`abcdefghijklmnopqrstuvwxyz{|}~|"
);
}
catch (gcn::Exception e)
{
- try {
- guiFont = new gcn::ImageFont(
- "data/graphics/gui/fixedfont.png",
- " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567"
- "89:@!\"$%&/=?^+*#[]{}()<>_;'.,\\|-~`ψε"
- );
- }
- catch (gcn::Exception e)
- {
- logger->error("Unable to load fixedfont.png!");
- }
+ try {
+ guiFont = new gcn::ImageFont(
+ "data/graphics/gui/sansserif8.png",
+ " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW"
+ "XYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~|"
+ );
+ }
+ catch (gcn::Exception e)
+ {
+ logger->error("Unable to load sansserif8.png!");
+ }
}
-
+
gcn::Widget::setGlobalFont(guiFont);
// Load hits' colourful fonts