Skip to content

Commit

Permalink
games-engines/devilutionx: Revbump to fix remaining font issue
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
Lars Wendler committed Feb 22, 2021
1 parent 0206c8c commit 3385fcb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,25 @@ https://bugs.gentoo.org/704508

# -G DEB
set(CPACK_PACKAGE_CONTACT "[email protected]")
--- 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 @@
#endif

#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 {

0 comments on commit 3385fcb

Please sign in to comment.