| 1382 | } |
| 1383 | |
| 1384 | const uint8_t* SdCardFont::getOverflowBitmap(const EpdGlyph* glyph) const { |
| 1385 | for (uint32_t i = 0; i < overflowCount_; i++) { |
| 1386 | if (&overflow_[i].glyph == glyph) { |
| 1387 | return overflow_[i].bitmap; |
| 1388 | } |
| 1389 | } |
| 1390 | return nullptr; |
| 1391 | } |
| 1392 | |
| 1393 | SdCardFont* SdCardFont::fromMissCtx(void* ctx) { return static_cast<OverflowContext*>(ctx)->self; } |