diff options
Diffstat (limited to 'engines/gargoyle/fonts.cpp')
-rw-r--r-- | engines/gargoyle/fonts.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/gargoyle/fonts.cpp b/engines/gargoyle/fonts.cpp index bcb129ccc7..307144b1b2 100644 --- a/engines/gargoyle/fonts.cpp +++ b/engines/gargoyle/fonts.cpp @@ -65,6 +65,9 @@ Fonts::Fonts(Graphics::ManagedSurface *surface) : _surface(surface) { _fontTable[5] = loadFont(PROPB, propSize, propAspect, FONTB); _fontTable[6] = loadFont(PROPI, propSize, propAspect, FONTI); _fontTable[7] = loadFont(PROPZ, propSize, propAspect, FONTZ); + + g_conf->_cellW = _fontTable[0]->getStringWidth("0"); + g_conf->_cellH = _fontTable[0]->getFontHeight(); } Fonts::~Fonts() { |