diff options
author | Paul Gilbert | 2018-10-29 21:20:16 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-12-08 19:05:59 -0800 |
commit | c5668d9300a78fb7d459b53fb2f9d03a418fd63b (patch) | |
tree | 1ec4fdb19255df8650de557df584985e47bd580c /engines | |
parent | 0d3495bb3b9bf172452e7bdc9ebbc9b23fe6b947 (diff) | |
download | scummvm-rg350-c5668d9300a78fb7d459b53fb2f9d03a418fd63b.tar.gz scummvm-rg350-c5668d9300a78fb7d459b53fb2f9d03a418fd63b.tar.bz2 scummvm-rg350-c5668d9300a78fb7d459b53fb2f9d03a418fd63b.zip |
GLK: Further configuration fixes
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() { |