diff options
author | Eugene Sandulenko | 2017-01-26 11:07:41 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-26 18:08:03 +0100 |
commit | 1180f7a03f19f4c40378b62ff20fd49c3933e1b3 (patch) | |
tree | 7a13dbdbc501e8528017c65d1b45718e6e285abd /engines/director/score.cpp | |
parent | f7ada97cf84b519935dde4890d9507cc06e5723e (diff) | |
download | scummvm-rg350-1180f7a03f19f4c40378b62ff20fd49c3933e1b3.tar.gz scummvm-rg350-1180f7a03f19f4c40378b62ff20fd49c3933e1b3.tar.bz2 scummvm-rg350-1180f7a03f19f4c40378b62ff20fd49c3933e1b3.zip |
DIRECTOR: Improved font scaling test
Diffstat (limited to 'engines/director/score.cpp')
-rw-r--r-- | engines/director/score.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp index 9864a4c208..18ab4c9050 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -110,18 +110,17 @@ void DirectorEngine::testFontScaling() { const Graphics::MacFONTFont *font1 = (const Graphics::MacFONTFont *)_wm->_fontMan->getFont(origFont); - Graphics::MacFONTFont::testBlit(font1, &surface, 0, x, y, 500); + Graphics::MacFONTFont::testBlit(font1, &surface, 0, x, y + 200, 500); Graphics::MacFont bigFont(Graphics::kMacFontNewYork, 15); font1 = (const Graphics::MacFONTFont *)_wm->_fontMan->getFont(bigFont); - Graphics::MacFONTFont::testBlit(font1, &surface, 0, x, y + 50, 500); + Graphics::MacFONTFont::testBlit(font1, &surface, 0, x, y + 50 + 200, 500); -#if 0 const char *text = "d"; - for (int i = 9; i <= 40; i++) { + for (int i = 9; i <= 20; i++) { Graphics::MacFont macFont(Graphics::kMacFontNewYork, i); const Graphics::Font *font = _wm->_fontMan->getFont(macFont); @@ -135,7 +134,6 @@ void DirectorEngine::testFontScaling() { x += width + 1; } -#endif g_system->copyRectToScreen(surface.getPixels(), surface.pitch, 0, 0, w, h); |