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

Method hasAdvanceTable

lib/EpdFont/SdCardFont.cpp:1064–1069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1062}
1063
1064bool 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
1071uint16_t SdCardFont::getAdvance(uint32_t codepoint, uint8_t style) const {
1072 style &= (MAX_STYLES - 1);

Callers 3

getSpaceWidthMethod · 0.80
getSpaceAdvanceMethod · 0.80
getTextAdvanceXMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected