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

Method IsBuiltInFont

src/tests/mock_fontcache.h:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 GlyphID MapCharToGlyph(char32_t key, [[maybe_unused]] bool allow_fallback = true) override { return key; }
29 std::string GetFontName() override { return "mock"; }
30 bool IsBuiltInFont() override { return true; }
31
32 static void InitializeFontCaches()
33 {

Callers 2

FallbackVisualRunMethod · 0.45
GetParagraphLayoutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected