| 1062 | } |
| 1063 | |
| 1064 | bool SdCardFont::hasAdvanceTable() const { |
| 1065 | for (uint8_t i = 0; i < MAX_STYLES; i++) { |
| 1066 | if (advanceTable_[i]) return true; |
| 1067 | } |
| 1068 | return false; |
| 1069 | } |
| 1070 | |
| 1071 | uint16_t SdCardFont::getAdvance(uint32_t codepoint, uint8_t style) const { |
| 1072 | style &= (MAX_STYLES - 1); |
no outgoing calls
no test coverage detected