[Scummvm-git-logs] scummvm master -> 4e95dc148045c7ddb65cc31174e66f971d97f508
bluegr
noreply at scummvm.org
Thu Jan 30 21:08:13 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4e95dc1480 ENGINES: Use LiberationSans for subtitles instead of FreeSans
Commit: 4e95dc148045c7ddb65cc31174e66f971d97f508
https://github.com/scummvm/scummvm/commit/4e95dc148045c7ddb65cc31174e66f971d97f508
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2025-01-30T23:08:04+02:00
Commit Message:
ENGINES: Use LiberationSans for subtitles instead of FreeSans
Changed paths:
engines/agos/animation.cpp
engines/groovie/video/player.cpp
engines/mohawk/video.cpp
engines/sci/graphics/video32.cpp
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp
index 7b1444ab250..df47d252dd3 100644
--- a/engines/agos/animation.cpp
+++ b/engines/agos/animation.cpp
@@ -421,7 +421,7 @@ MoviePlayerSMK::MoviePlayerSMK(AGOSEngine_Feeble *vm, const char *name)
_subtitles.setBBox(Common::Rect(20, h - 120, g_system->getOverlayWidth() - 20, h - 20));
_subtitles.setColor(0xff, 0xff, 0xff);
- _subtitles.setFont("FreeSans.ttf");
+ _subtitles.setFont("LiberationSans-Regular.ttf");
}
bool MoviePlayerSMK::load() {
diff --git a/engines/groovie/video/player.cpp b/engines/groovie/video/player.cpp
index 3e1bb41ed1c..3bf475b00e1 100644
--- a/engines/groovie/video/player.cpp
+++ b/engines/groovie/video/player.cpp
@@ -39,7 +39,7 @@ VideoPlayer::VideoPlayer(GroovieEngine *vm) :
_subtitles.setBBox(Common::Rect(20, h - 120, g_system->getOverlayWidth() - 20, h - 20));
_subtitles.setColor(0xff, 0xff, 0xff);
- _subtitles.setFont("FreeSans.ttf");
+ _subtitles.setFont("LiberationSans-Regular.ttf");
}
bool VideoPlayer::load(Common::SeekableReadStream *file, uint16 flags) {
diff --git a/engines/mohawk/video.cpp b/engines/mohawk/video.cpp
index 88f2a920d28..533c641d0b6 100644
--- a/engines/mohawk/video.cpp
+++ b/engines/mohawk/video.cpp
@@ -135,7 +135,7 @@ void VideoEntry::start() {
w = g_system->getOverlayWidth();
_subtitles.setBBox(Common::Rect(20, h - 120, w - 20, h - 20));
_subtitles.setColor(0xff, 0xff, 0xff);
- _subtitles.setFont("FreeSans.ttf");
+ _subtitles.setFont("LiberationSans-Regular.ttf");
g_system->showOverlay(false);
g_system->clearOverlay();
diff --git a/engines/sci/graphics/video32.cpp b/engines/sci/graphics/video32.cpp
index 300351d155e..290f225c9c8 100644
--- a/engines/sci/graphics/video32.cpp
+++ b/engines/sci/graphics/video32.cpp
@@ -149,7 +149,7 @@ VideoPlayer::EventFlags VideoPlayer::playUntilEvent(const EventFlags flags, cons
if (_subtitles.isLoaded()) {
setSubtitlePosition();
_subtitles.setColor(0xff, 0xff, 0xff);
- _subtitles.setFont("FreeSans.ttf");
+ _subtitles.setFont("LiberationSans-Regular.ttf");
g_system->clearOverlay();
g_system->showOverlay(false);
More information about the Scummvm-git-logs
mailing list