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

Method insertFont

lib/GfxRenderer/GfxRenderer.cpp:96–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94bool GfxRenderer::isFontCacheScanning() const { return fontCacheManager_ && fontCacheManager_->isScanning(); }
95
96void GfxRenderer::insertFont(const int fontId, EpdFontFamily font) {
97 auto result = fontMap.insert({fontId, font});
98 if (!result.second) {
99 LOG_ERR("GFX", "Font ID %d already registered, ignoring duplicate", fontId);
100 }
101}
102
103// Translate logical (x,y) coordinates to physical panel coordinates based on current orientation
104// This should always be inlined for better performance

Callers 2

loadFamilyMethod · 0.80
setupDisplayAndFontsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected