MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / resolveFontId

Method resolveFontId

src/SdCardFontSystem.cpp:106–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106int SdCardFontSystem::resolveFontId(const char* familyName, uint8_t /*fontSizeEnum*/) const {
107 // The manager loads exactly one size (closest to SETTINGS.fontSize), so the
108 // enum is implicit — always return the single loaded font ID for this family.
109 // ensureLoaded() must have been called with the current settings before this.
110 return manager_.getFontId(familyName);
111}

Callers 1

beginMethod · 0.80

Calls 1

getFontIdMethod · 0.80

Tested by

no test coverage detected