X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fvideo%2Ffont.cpp;h=aeb2e201197e4485ade6d5c383080069f7d1c3b1;hb=9fa5429bfea6e22da442832c8ea55ea9988dcd07;hp=41854451f31e39b63fc533ddc952ec20b2f2e537;hpb=c88bea169adaf492d7e1da6567edee6f9b6a94d1;p=supertux.git diff --git a/src/video/font.cpp b/src/video/font.cpp index 41854451f..aeb2e2011 100644 --- a/src/video/font.cpp +++ b/src/video/font.cpp @@ -202,7 +202,7 @@ Font::loadFontSurface( Glyph glyph; glyph.surface_idx = surface_idx; - if( glyph_width_ == FIXED ) + if( glyph_width_ == FIXED || isdigit(*chr) ) { glyph.rect = Rectf(x, y, x + char_width, y + char_height); glyph.offset = Vector(0, 0);