1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 01:12:39 +01:00

Revert: "Add: Automatically load fonts for missing glyphs. (#14856)"

This reverts commit c1d37d8699.
This commit is contained in:
Peter Nelson
2025-12-13 00:28:35 +00:00
committed by Peter Nelson
parent 0778687ed5
commit 973514adc3
4 changed files with 4 additions and 60 deletions

View File

@@ -2326,7 +2326,7 @@ static bool ConContent(std::span<std::string_view> argv)
*/
static std::string_view FontLoadReasonToName(FontLoadReason load_reason)
{
static const std::string_view LOAD_REASON_TO_NAME[] = { "default", "configured", "language", "missing" };
static const std::string_view LOAD_REASON_TO_NAME[] = { "default", "configured", "language" };
static_assert(std::size(LOAD_REASON_TO_NAME) == to_underlying(FontLoadReason::End));
return LOAD_REASON_TO_NAME[to_underlying(load_reason)];
}