MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / SetFontNames

Method SetFontNames

src/textfile_gui.cpp:762–768  ·  view source on GitHub ↗

virtual */

Source from the content-addressed store, hash-verified

760}
761
762/* virtual */ void TextfileWindow::SetFontNames([[maybe_unused]] FontCacheSettings *settings, [[maybe_unused]] std::string_view font_name, [[maybe_unused]] const void *os_data)
763{
764#if defined(WITH_FREETYPE) || defined(_WIN32) || defined(WITH_COCOA)
765 settings->mono.font = font_name;
766 settings->mono.os_handle = os_data;
767#endif
768}
769
770#if defined(WITH_ZLIB)
771

Callers 3

EnumFontCallbackFunction · 0.45
FindFallbackFontMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected