[Scummvm-git-logs] scummvm master -> 5932acf80865a7a6c21db02b17efc06a23d55ad9

phcoder noreply at scummvm.org
Thu Mar 16 23:40:26 UTC 2023


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:
5932acf808 ASYLUM: Decrease Chinese font size to 16 closer to original


Commit: 5932acf80865a7a6c21db02b17efc06a23d55ad9
    https://github.com/scummvm/scummvm/commit/5932acf80865a7a6c21db02b17efc06a23d55ad9
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2023-03-17T00:40:22+01:00

Commit Message:
ASYLUM: Decrease Chinese font size to 16 closer to original

Changed paths:
    engines/asylum/system/text.cpp


diff --git a/engines/asylum/system/text.cpp b/engines/asylum/system/text.cpp
index a3b990286f1..07a20fc1d43 100644
--- a/engines/asylum/system/text.cpp
+++ b/engines/asylum/system/text.cpp
@@ -67,7 +67,7 @@ void Text::loadChineseFont() {
 	_chineseFontLoadAttempted = true;
 
 #if defined(USE_FREETYPE2)
-	_chineseFont.reset(Graphics::loadTTFFontFromArchive("NotoSansSC-Regular.otf", 32, Graphics::kTTFSizeModeCharacter, 0, Graphics::kTTFRenderModeLight));
+	_chineseFont.reset(Graphics::loadTTFFontFromArchive("NotoSansSC-Regular.otf", 16, Graphics::kTTFSizeModeCharacter, 0, Graphics::kTTFRenderModeLight));
 #endif
 }
 




More information about the Scummvm-git-logs mailing list