diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gargoyle/conf.cpp | 2 | ||||
-rw-r--r-- | engines/gargoyle/fonts.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/engines/gargoyle/conf.cpp b/engines/gargoyle/conf.cpp index 553f02cb07..7e11a2f295 100644 --- a/engines/gargoyle/conf.cpp +++ b/engines/gargoyle/conf.cpp @@ -89,7 +89,7 @@ Conf::Conf() { get("propi", _propI); get("propz", _propZ); get("propfont", _propFont, "Linux Libertine O"); - get("leading", _leading, 20); + get("leading", _leading, 8); get("baseline", _baseLine, 15); get("rows", _rows, 25); get("cols", _cols, 60); 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() { |