[freeciv] 06/08: Rebase themes_sdl_use_system_fonts.patch

Markus Koschany apo at moszumanska.debian.org
Thu Aug 17 16:22:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository freeciv.

commit 48a5c4a9fdbb9f7da8ef5183ef901a664c2f43f1
Author: Markus Koschany <apo at debian.org>
Date:   Thu Aug 17 02:29:51 2017 +0200

    Rebase themes_sdl_use_system_fonts.patch
---
 debian/changelog                                 |  1 +
 debian/patches/series                            |  1 +
 debian/patches/themes_sdl_use_system_fonts.patch | 30 ++++++++++++++++++++++++
 3 files changed, 32 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ee2cfb4..f4d95d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ freeciv (2.5.8-1) unstable; urgency=medium
 
   * New upstream version 2.5.8.
   * Declare compliance with Debian Policy 4.0.1.
+  * Refresh themes_sdl_use_system_fonts.patch.
 
  -- Markus Koschany <apo at debian.org>  Thu, 17 Aug 2017 02:26:27 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..374dc67
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+themes_sdl_use_system_fonts.patch
diff --git a/debian/patches/themes_sdl_use_system_fonts.patch b/debian/patches/themes_sdl_use_system_fonts.patch
new file mode 100644
index 0000000..1a97dbb
--- /dev/null
+++ b/debian/patches/themes_sdl_use_system_fonts.patch
@@ -0,0 +1,30 @@
+From: Markus Koschany <apo at debian.org>
+Date: Thu, 17 Aug 2017 02:29:31 +0200
+Subject: themes_sdl_use_system_fonts
+
+---
+ data/themes/gui-sdl/human/theme.themespec | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/data/themes/gui-sdl/human/theme.themespec b/data/themes/gui-sdl/human/theme.themespec
+index a03f5ee..34f05cd 100644
+--- a/data/themes/gui-sdl/human/theme.themespec
++++ b/data/themes/gui-sdl/human/theme.themespec
+@@ -8,13 +8,13 @@ name = "human"
+ priority = 20
+ 
+ ; The font to be used:
+-font_file         = "themes/gui-sdl/human/DejaVuSans.ttf"
++font_file         = "../../fonts/truetype/dejavu/DejaVuSans.ttf"
+ ; To use CJK fonts, provide the path to the font below.
+ ; Fonts recommended for Freeciv can be fetched from git master, e.g.:
+ ; https://raw.githubusercontent.com/freeciv/freeciv/master/data/themes/gui-sdl/human/fireflysung.ttf
+-font_file_zh_CN   = "themes/gui-sdl/human/fireflysung.ttf"
+-font_file_ja      = "themes/gui-sdl/human/sazanami-gothic.ttf"
+-font_file_ko      = "themes/gui-sdl/human/UnDotum.ttf"
++font_file_zh_CN   = "../../fonts/truetype/arphic/uming.ttc"
++font_file_ja      = "../../fonts/opentype/ipafont-gothic/ipag.ttf"
++font_file_ko      = "../../fonts/truetype/unfonts-core/UnDotum.ttf"
+ default_font_size = 18
+ 
+ ; Below, the graphics spec files; must be somewhere (anywhere) in 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/freeciv.git



More information about the Pkg-games-commits mailing list