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:
committed by
Peter Nelson
parent
0778687ed5
commit
973514adc3
@@ -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)];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user