aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/screen.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-12-17 21:23:57 -0800
committerPaul Gilbert2018-12-17 21:23:57 -0800
commit6b7eb94ca06f009770aa464ea906a4466f68c9c5 (patch)
tree222b86d7fad4cff2694bbd5445268153d12e8892 /engines/glk/screen.cpp
parent83c029b2196920e833f845a68c983f1ce2a67723 (diff)
downloadscummvm-rg350-6b7eb94ca06f009770aa464ea906a4466f68c9c5.tar.gz
scummvm-rg350-6b7eb94ca06f009770aa464ea906a4466f68c9c5.tar.bz2
scummvm-rg350-6b7eb94ca06f009770aa464ea906a4466f68c9c5.zip
GLK: FROTZ: Remove need for new font style for Runic font
Diffstat (limited to 'engines/glk/screen.cpp')
-rw-r--r--engines/glk/screen.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/glk/screen.cpp b/engines/glk/screen.cpp
index 7b3878298e..2891db1490 100644
--- a/engines/glk/screen.cpp
+++ b/engines/glk/screen.cpp
@@ -144,17 +144,13 @@ void Screen::loadFonts(Common::Archive *archive) {
_fonts[5] = loadFont(PROPB, archive, propSize, propAspect, FONTB);
_fonts[6] = loadFont(PROPI, archive, propSize, propAspect, FONTI);
_fonts[7] = loadFont(PROPZ, archive, propSize, propAspect, FONTZ);
-
- _fonts[8] = loadFont(RUNIC, archive, propSize, propAspect, RUNIC);
}
-const Graphics::Font *Screen::loadFont(FACES face, Common::Archive *archive, double size, double aspect, int
- style) {
+const Graphics::Font *Screen::loadFont(FACES face, Common::Archive *archive, double size, double aspect, int style) {
Common::File f;
- const char *const FILENAMES[9] = {
+ const char *const FILENAMES[8] = {
"GoMono-Regular.ttf", "GoMono-Bold.ttf", "GoMono-Italic.ttf", "GoMono-Bold-Italic.ttf",
- "NotoSerif-Regular.ttf", "NotoSerif-Bold.ttf", "NotoSerif-Italic.ttf", "NotoSerif-Bold-Italic.ttf",
- "NotoSansRunic-Regular.ttf"
+ "NotoSerif-Regular.ttf", "NotoSerif-Bold.ttf", "NotoSerif-Italic.ttf", "NotoSerif-Bold-Italic.ttf"
};
if (!f.open(FILENAMES[face], *archive))