From 8f40ab49da011f6d57653afbd10d22c20309f2f6 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 11 Jul 2005 21:19:16 +0000 Subject: Introducing new font, sans serif 8. --- src/gui/gui.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/gui') 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 -- cgit v1.2.3-70-g09d2