* Resolves the requested style to the best available style in the given SD card font. * Falls back gracefully when the font lacks the requested variant. */
| 18 | * Falls back gracefully when the font lacks the requested variant. |
| 19 | */ |
| 20 | uint8_t resolveSdCardStyle(const SdCardFont& font, const EpdFontFamily::Style style) { |
| 21 | return font.resolveStyle(static_cast<uint8_t>(style)); |
| 22 | } |
| 23 | } // namespace |
| 24 | |
| 25 | namespace { |
no test coverage detected