[hyperrogue] 07/08: Refresh system-dejavu.patch
Markus Koschany
apo at moszumanska.debian.org
Thu Sep 14 20:25:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository hyperrogue.
commit 2f70d0fe6686104a5f4c26e59b1c28abf2288c08
Author: Markus Koschany <apo at debian.org>
Date: Thu Sep 14 20:53:26 2017 +0200
Refresh system-dejavu.patch
---
debian/patches/series | 1 +
debian/patches/system-dejavu.patch | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 8dde9d7..fa20ace 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
optimization.patch
+system-dejavu.patch
diff --git a/debian/patches/system-dejavu.patch b/debian/patches/system-dejavu.patch
new file mode 100644
index 0000000..89cbba0
--- /dev/null
+++ b/debian/patches/system-dejavu.patch
@@ -0,0 +1,21 @@
+From: Markus Koschany <apo at debian.org>
+Date: Thu, 14 Sep 2017 20:53:08 +0200
+Subject: system dejavu
+
+---
+ src/basegraph.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/basegraph.cpp b/src/basegraph.cpp
+index e836c6a..e3f3994 100644
+--- a/src/basegraph.cpp
++++ b/src/basegraph.cpp
+@@ -57,7 +57,7 @@ int qpixel3(SDL_Surface *surf, int x, int y) {
+ #if CAP_SDLTTF
+ void loadfont(int siz) {
+ if(!font[siz]) {
+- font[siz] = TTF_OpenFont(ISWEB ? "sans-serif" : HYPERPATH "DejaVuSans-Bold.ttf", siz);
++ font[siz] = TTF_OpenFont("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", siz);
+ // Destination set by ./configure (in the GitHub repository)
+ #ifdef FONTDESTDIR
+ if (font[siz] == NULL) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/hyperrogue.git
More information about the Pkg-games-commits
mailing list