Project

General

Profile

Feature #599 ยป 0081-sdl3-theme-Correct-theme-internal-file-references.patch

Marko Lindqvist, 05/12/2024 12:31 PM

View differences:

data/themes/gui-sdl3/human/theme.themespec
priority = 20
; The font to be used:
default_font_file = "themes/gui-sdl2/human/DejaVuSans.ttf"
default_font_file = "themes/gui-sdl3/human/DejaVuSans.ttf"
default_font_size = 10
; To use CJK fonts, provide the path to the font below.
; Fonts recommended for Freeciv can be fetched from git main branch, e.g.:
; https://raw.githubusercontent.com/freeciv/freeciv/main/data/themes/gui-sdl2/human/fireflysung.ttf
; https://raw.githubusercontent.com/freeciv/freeciv/main/data/themes/gui-sdl3/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", "themes/gui-sdl3/human/fireflysung.ttf"
"ja", "themes/gui-sdl3/human/sazanami-gothic.ttf"
"ko", "themes/gui-sdl3/human/UnDotum.ttf"
}
; Below, the graphics spec files; must be somewhere (anywhere) in
......
; low-color systems, and if there are any duplicate tags (lattermost
; tag is used).
files =
"themes/gui-sdl2/human/city.tspec",
"themes/gui-sdl2/human/city_fist.tspec",
"themes/gui-sdl2/human/dip_icons.tspec",
"themes/gui-sdl2/human/icons.tspec",
"themes/gui-sdl2/human/small_theme_buttons.tspec",
"themes/gui-sdl2/human/tech_tree.tspec",
"themes/gui-sdl2/human/theme_boxs.tspec",
"themes/gui-sdl2/human/theme_buttons.tspec",
"themes/gui-sdl2/human/theme_orders_buttons.tspec",
"themes/gui-sdl2/human/theme_scrolls.tspec"
"themes/gui-sdl3/human/city.tspec",
"themes/gui-sdl3/human/city_fist.tspec",
"themes/gui-sdl3/human/dip_icons.tspec",
"themes/gui-sdl3/human/icons.tspec",
"themes/gui-sdl3/human/small_theme_buttons.tspec",
"themes/gui-sdl3/human/tech_tree.tspec",
"themes/gui-sdl3/human/theme_boxs.tspec",
"themes/gui-sdl3/human/theme_buttons.tspec",
"themes/gui-sdl3/human/theme_orders_buttons.tspec",
"themes/gui-sdl3/human/theme_scrolls.tspec"
; Include background image definitions
*include "themes/gui-sdl2/human/backgrounds.themespec"
*include "themes/gui-sdl3/human/backgrounds.themespec"
; Include color definitions
*include "themes/gui-sdl2/human/colors.themespec"
*include "themes/gui-sdl3/human/colors.themespec"
    (1-1/1)