mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
GLK: Further configuration fixes
This commit is contained in:
committed by
Paul Gilbert
parent
0d3495bb3b
commit
c5668d9300
@@ -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);
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user