| 240 | } |
| 241 | |
| 242 | bool load(GameFontTables size, text_color color, char32_t next) |
| 243 | { |
| 244 | const uint32_t unicodeRow = GetUnicodeRow(next); |
| 245 | if (unicodeRow == currentUnicodeRow_ && hasAttemptedLoad_) { |
| 246 | return true; |
| 247 | } |
| 248 | |
| 249 | fontStack = LoadFont(size, color, unicodeRow); |
| 250 | hasAttemptedLoad_ = true; |
| 251 | currentUnicodeRow_ = unicodeRow; |
| 252 | |
| 253 | return fontStack.has_value(); |
| 254 | } |
| 255 | |
| 256 | void clear() |
| 257 | { |
no test coverage detected