[Scummvm-git-logs] scummvm master -> 070a9a53b14c7f2f2e6f51e8cf9176742dc00f17
sev-
sev at scummvm.org
Tue Aug 17 17:29:30 UTC 2021
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
bf1b6a35aa AGI: Do not use Hercules font for Cyrillic titles. Addresses bug #12745
070a9a53b1 AGI: Remove stray debug output
Commit: bf1b6a35aa8ab671988c2c5b2bbcda917be75d0c
https://github.com/scummvm/scummvm/commit/bf1b6a35aa8ab671988c2c5b2bbcda917be75d0c
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-08-17T19:29:17+02:00
Commit Message:
AGI: Do not use Hercules font for Cyrillic titles. Addresses bug #12745
Changed paths:
engines/agi/font.cpp
diff --git a/engines/agi/font.cpp b/engines/agi/font.cpp
index fdb77070e5..2d8bba4349 100644
--- a/engines/agi/font.cpp
+++ b/engines/agi/font.cpp
@@ -993,6 +993,13 @@ void GfxFont::loadFontAtariST(Common::String fontFilename) {
// Loads a Sierra Hercules font file
void GfxFont::loadFontHercules() {
+
+ if (_vm->getLanguage() == Common::RU_RUS) {
+ warning("Hercules font does not contain Russian characters, switching to default");
+
+ return;
+ }
+
Common::File fontFile;
int32 fontFileSize = 0;
byte *fontData = nullptr;
Commit: 070a9a53b14c7f2f2e6f51e8cf9176742dc00f17
https://github.com/scummvm/scummvm/commit/070a9a53b14c7f2f2e6f51e8cf9176742dc00f17
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-08-17T19:29:17+02:00
Commit Message:
AGI: Remove stray debug output
Changed paths:
engines/agi/agi.cpp
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
index 86df9b49c8..44f923a0b7 100644
--- a/engines/agi/agi.cpp
+++ b/engines/agi/agi.cpp
@@ -433,7 +433,6 @@ void AgiEngine::initialize() {
_soundemu = SOUND_EMU_AMIGA;
break;
default:
- debug(0, "DEF");
_soundemu = SOUND_EMU_MIDI;
break;
}
More information about the Scummvm-git-logs
mailing list