### Open Sans
fontfiles = {
	name = "OpenSans-SemiBold"
	always_load = yes

	group = {
		languages = { "l_english" "l_french" "l_german" "l_russian" "l_spanish" }
		files = { "fonts/Open_Sans/OpenSans-SemiBold.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Korean_fontset/IropkeBatangM.ttf" }
	}

	group = {
		languages = { "l_simp_chinese" }
		files = { "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Open_Sans/OpenSans-SemiBold.ttf" "fonts/Korean_fontset/IropkeBatangM.ttf" }
	}

	group = {
		languages = { "l_korean" }
		files = { "fonts/Korean_fontset/IropkeBatangM.ttf" "fonts/Open_Sans/OpenSans-SemiBold.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" }
	}
}

fontfiles = {
	name = "OpenSans-SemiBoldItalic"
	always_load = yes

	group = {
		languages = { "l_english" "l_french" "l_german" "l_russian" "l_spanish" }
		files = { "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Korean_fontset/IBMPlexSansKR-Medium.otf" }
	}

	group = {
		languages = { "l_simp_chinese" }
		files = { "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Korean_fontset/IBMPlexSansKR-Medium.otf" }
	}

	group = {
		languages = { "l_korean" }
		files = { "fonts/Korean_fontset/IBMPlexSansKR-Medium.otf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" }
	}
}

fontfiles = {
	name = "OpenSansCondensed-Bold"
	always_load = yes

	group = {
		languages = { "l_english" "l_french" "l_german" "l_russian" "l_spanish" }
		files = { "fonts/Open_Sans_Condensed/OpenSansCondensed-Bold.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Korean_fontset/IropkeBatangB.ttf" }
	}

	group = {
		languages = { "l_simp_chinese" }
		files = { "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Open_Sans_Condensed/OpenSansCondensed-Bold.ttf" "fonts/Korean_fontset/IropkeBatangB.ttf" }
	}

	group = {
		languages = { "l_korean" }
		files = { "fonts/Korean_fontset/IropkeBatangB.ttf" "fonts/Open_Sans_Condensed/OpenSansCondensed-Bold.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" }
	}
}

### Gitan
fontfiles = {
	name = "Gitan-Regular"
	always_load = yes

	group = {
		languages = { "l_english" "l_french" "l_german" "l_spanish" }
		files = { "fonts/Imperial_Library/ImperialLibrary-Regular.otf" "fonts/Open_Sans/OpenSans-SemiBold.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Medium.otf" "fonts/Korean_fontset/IropkeBatangM.ttf" }
	}

	group = {
		languages = { "l_russian" }
		files = { "fonts/Open_Sans/OpenSans-SemiBold.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Medium.otf" "fonts/Korean_fontset/IropkeBatangM.ttf" }
	}

	group = {
		languages = { "l_simp_chinese" }
		files = { "fonts/Noto_Sans_SC/NotoSansSC-Medium.otf" "fonts/Open_Sans/OpenSans-SemiBold.ttf" "fonts/Korean_fontset/IropkeBatangM.ttf" }
	}

	group = {
		languages = { "l_korean" }
		files = { "fonts/Korean_fontset/IropkeBatangM.ttf" "fonts/Open_Sans/OpenSans-SemiBold.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Medium.otf" }
	}
}

fontfiles = {
	name = "Gitan-Bold"
	always_load = yes

	group = {
		languages = { "l_english" "l_french" "l_german" "l_spanish" }
		files = { "fonts/Imperial_Library/ImperialLibrary-Bold.otf" "fonts/Open_Sans/OpenSans-Bold.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Korean_fontset/IropkeBatangB.ttf" }
	}

	group = {
		languages = { "l_russian" }
		files = { "fonts/Open_Sans/OpenSans-Bold.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Korean_fontset/IropkeBatangB.ttf" }
	}

	group = {
		languages = { "l_simp_chinese" }
		files = { "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Open_Sans/OpenSans-Bold.ttf" "fonts/Korean_fontset/IropkeBatangB.ttf" }
	}

	group = {
		languages = { "l_korean" }
		files = { "fonts/Korean_fontset/IropkeBatangB.ttf" "fonts/Open_Sans/OpenSans-Bold.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" }
	}
}

fontfiles = {
	name = "Gitan-Italic"
	always_load = yes

	group = {
		languages = { "l_english" "l_french" "l_german" "l_spanish" }
		files = { "fonts/Imperial_Library/ImperialLibrary-Italic.otf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Light.otf" "fonts/Korean_fontset/IBMPlexSansKR-Medium.otf" }
	}

	group = {
		languages = { "l_russian" }
		files = { "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Light.otf" "fonts/Korean_fontset/IBMPlexSansKR-Medium.otf" }
	}

	group = {
		languages = { "l_simp_chinese" }
		files = { "fonts/Noto_Sans_SC/NotoSansSC-Light.otf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Korean_fontset/IBMPlexSansKR-Medium.otf" }
	}

	group = {
		languages = { "l_korean" }
		files = { "fonts/Korean_fontset/IBMPlexSansKR-Medium.otf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Light.otf" }
	}
}

fontfiles = {
	name = "Gitan-Bold-Italic"
	always_load = yes

	group = {
		languages = { "l_english" "l_french" "l_german" "l_spanish" }
		files = { "fonts/Imperial_Library/ImperialLibrary-Bold-Italic.otf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Korean_fontset/IBMPlexSansKR-SemiBold.otf" }
	}

	group = {
		languages = { "l_russian" }
		files = { "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Korean_fontset/IBMPlexSansKR-SemiBold.otf" }
	}

	group = {
		languages = { "l_simp_chinese" }
		files = { "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Korean_fontset/IBMPlexSansKR-SemiBold.otf" }
	}

	group = {
		languages = { "l_korean" }
		files = { "fonts/Korean_fontset/IBMPlexSansKR-SemiBold.otf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" }
	}
}

### Fondamento
fontfiles = {
	name = "Fondamento-Regular"
	always_load = yes

	group = {
		languages = { "l_english" "l_french" "l_german" "l_spanish" }
		files = { "fonts/Fondamento/Fondamento-Regular.ttf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Korean_fontset/ON_YeossiB.ttf" }
	}

	group = {
		languages = { "l_russian" }
		files = { "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Korean_fontset/ON_YeossiB.ttf" }
	}

	group = {
		languages = { "l_simp_chinese" }
		files = { "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Korean_fontset/ON_YeossiB.ttf" }
	}

	group = {
		languages = { "l_korean" }
		files = { "fonts/Korean_fontset/ON_YeossiB.ttf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" }
	}
}

### Paradox Kings Script // Missale Lunea custom
fontfiles = {
	name = "Paradox_King_Script"
	always_load = yes

	group = {
		languages = { "l_english" "l_french" "l_german" "l_spanish" }
		files = { "fonts/mapfont/Paradox_King_Script.otf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Korean_fontset/GunglipbakmulgwanClassicB.ttf" }
	}

	group = {
		languages = { "l_russian" }
		files = { "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Korean_fontset/GunglipbakmulgwanClassicB.ttf" }
	}

	group = {
		languages = { "l_simp_chinese" }
		files = { "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Korean_fontset/GunglipbakmulgwanClassicB.ttf" }
	}

	group = {
		languages = { "l_korean" }
		files = { "fonts/Korean_fontset/GunglipbakmulgwanClassicB.ttf" "fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf" "fonts/Noto_Sans_SC/NotoSansSC-Bold.otf" }
	}
}

#######################################################################
#######################################################################
#######################################################################

# Each font should specify what it is used for.
# Name fonts after intented usage, not after source file names.

font = {
	name = "Debug"

	fontstyle = {
		style = regular
		fontfiles = "OpenSans-SemiBold"
	}
}

## Font used in-game
font = {
	name = "StandardGameFont"

	fontstyle = {
		style = regular
		fontfiles = "Gitan-Regular"
	}

	fontstyle = {
		style = bold
		fontfiles = "Gitan-Bold"
	}

	fontstyle = {
		style = italic
		fontfiles = "Gitan-Italic"
	}

	fontstyle = {
		style = bold|italic
		fontfiles = "Gitan-Bold-Italic"
	}

	underlineformats = {
		default = {
			thickness = 1
			offset = 0.12
		}
	}
}

# Title font
font = {
	name = "TitleFont"

	fontstyle = {
		style = regular
		fontfiles = "Fondamento-Regular"
	}
}

# For map names
font = {
	name = "MapFont"

	fontstyle = {
		style = regular
		fontfiles = "Paradox_King_Script"
	}
}
