File: themes_sdl_use_system_fonts.patch

package info (click to toggle)
freeciv 3.2.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 286,156 kB
  • sloc: ansic: 478,675; cpp: 37,713; sh: 10,367; makefile: 7,424; python: 2,938; xml: 643; sed: 11
file content (35 lines) | stat: -rw-r--r-- 1,232 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From: Markus Koschany <apo@debian.org>
Date: Thu, 17 Aug 2017 02:29:31 +0200
Subject: themes_sdl_use_system_fonts

Use Debian's system fonts.

Forwarded: not-needed
---
 data/themes/gui-sdl2/human/theme.themespec | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

--- a/data/themes/gui-sdl2/human/theme.themespec
+++ b/data/themes/gui-sdl2/human/theme.themespec
@@ -8,7 +8,7 @@
 priority = 20
 
 ; The font to be used:
-default_font_file = "themes/gui-sdl2/human/DejaVuSans.ttf"
+default_font_file = "./../fonts/truetype/dejavu/DejaVuSans.ttf"
 default_font_size = 10
 
 ; To use CJK fonts, provide the path to the font below.
@@ -16,9 +16,9 @@
 ; https://raw.githubusercontent.com/freeciv/freeciv/S3_2/data/themes/gui-sdl2/human/fireflysung.ttf
 fonts =
   { "langname", "font_file"
-    "zh_CN",    "themes/gui-sdl2/human/fireflysung.ttf"
-    "ja",       "themes/gui-sdl2/human/sazanami-gothic.ttf"
-    "ko",       "themes/gui-sdl2/human/UnDotum.ttf"
+    "zh_CN",    "../../fonts/truetype/arphic/uming.ttc"
+    "ja",       "../../fonts/opentype/ipafont-gothic/ipag.ttf"
+    "ko",       "../../fonts/opentype/noto/NotoSansCJK-Regular.ttc"
   }
 
 ; Below, the graphics spec files; must be somewhere (anywhere) in