games-engines/devilutionx: Revbump to fix remaining font issue

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2021-02-22 14:00:23 +01:00
parent 0206c8ccad
commit 3385fcbbd1
2 changed files with 12 additions and 1 deletions

View File

@@ -38,6 +38,17 @@ https://bugs.gentoo.org/704508
# -G DEB
set(CPACK_PACKAGE_CONTACT "anders@jenbo.dk")
--- devilutionX-1.1.0/SourceX/DiabloUI/fonts.cpp
+++ devilutionX-1.1.0/SourceX/DiabloUI/fonts.cpp
@@ -69,7 +69,7 @@
#ifdef __linux__
if (!FileExists(ttf_font_path))
{
- ttf_font_path = "/usr/share/fonts/truetype/" TTF_FONT_NAME;
+ ttf_font_path = "/usr/share/fonts/" TTF_FONT_NAME;
}
#endif
font = TTF_OpenFont(ttf_font_path, 17);
--- devilutionX-1.1.0/SourceX/DiabloUI/fonts.h
+++ devilutionX-1.1.0/SourceX/DiabloUI/fonts.h
@@ -11,7 +11,7 @@
@@ -45,7 +56,7 @@ https://bugs.gentoo.org/704508
#ifndef TTF_FONT_NAME
-#define TTF_FONT_NAME "CharisSILB.ttf"
+#define TTF_FONT_NAME "CharisSIL-B.ttf"
+#define TTF_FONT_NAME "sil-charis/CharisSIL-B.ttf"
#endif
namespace dvl {