aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanasis Antoniou2018-12-14 15:57:54 +0200
committerEugene Sandulenko2018-12-25 12:35:52 +0100
commit97360ceb1b429cfafb4829f7f27979f8d7790b96 (patch)
tree599166c9c8ab5098cb9f75157d96d5fa45c4d03b
parent3185b53396381dd35e80aea8c9b00bc29b0846da (diff)
downloadscummvm-rg350-97360ceb1b429cfafb4829f7f27979f8d7790b96.tar.gz
scummvm-rg350-97360ceb1b429cfafb4829f7f27979f8d7790b96.tar.bz2
scummvm-rg350-97360ceb1b429cfafb4829f7f27979f8d7790b96.zip
BLADERUNNER: Removed old fixes for internal TAHOMA18
-rw-r--r--engines/bladerunner/font.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/engines/bladerunner/font.cpp b/engines/bladerunner/font.cpp
index 2746d5e631..59cafe7068 100644
--- a/engines/bladerunner/font.cpp
+++ b/engines/bladerunner/font.cpp
@@ -68,33 +68,6 @@ bool Font::open(const Common::String &fileName, int screenWidth, int screenHeigh
_characters[i].width = stream->readUint32LE();
_characters[i].height = stream->readUint32LE();
_characters[i].dataOffset = stream->readUint32LE();
- // Commented out. Explicit fixes don't really make sense if we can override the TAHOMA18 font
-// // special explicit alignment fixes for TAHOMA18 (INTERNAL) font
-// if (fileName == "TAHOMA18.FON") {
-// switch (i) {
-// case 46: // '-'
-// case 72: // G
-// case 74: // I
-// case 75: // J
-// _characters[i].x -= 1; // original value was 1
-// break;
-// case 81: // P (ascii code 80 + 1)
-// _characters[i].x -= 1; // original value was 1
-// _characters[i].y += 1; // original value was 6 -- bring them down for one (1) pixel
-// break;
-// case 83: // R
-// case 84: // S
-// case 86: // U
-// case 87: // V
-// case 88: // W
-// case 89: // X
-// case 90: // Y
-// case 91: // Z
-// _characters[i].y += 1; // original value was 6 -- bring them down for one (1) pixel
-// break;
-// }
-// }
-// debug("char::%d character x: %d, y: %d, w: %d, h:%d, do: %d", i, _characters[i].x, _characters[i].y, _characters[i].width, _characters[i].height, _characters[i].dataOffset);
}
for (int i = 0; i < _dataSize; i++) {
_data[i] = stream->readUint16LE();