| 55 | } |
| 56 | |
| 57 | void GfxRenderer::ensureSdCardFontReady(int fontId, const char* utf8Text, uint8_t styleMask) const { |
| 58 | auto it = sdCardFonts_.find(fontId); |
| 59 | if (it != sdCardFonts_.end()) { |
| 60 | int missed = it->second->buildAdvanceTable(utf8Text, styleMask); |
| 61 | if (missed > 0) { |
| 62 | LOG_DBG("GFX", "ensureSdCardFontReady: %d glyph(s) not found", missed); |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | void GfxRenderer::ensureSdCardFontReady(int fontId, const std::vector<std::string>& words, bool includeHyphen, |
| 68 | uint8_t styleMask) const { |
no test coverage detected