fixup! feat(core): introduce new drawing library

cepetr/haptic-loader
cepetr 3 weeks ago
parent a4fd40fb1d
commit 7101fcf7b0

@ -53,7 +53,7 @@ static uint64_t term_glyph_bits(char ch) {
uint8_t bytes[8]; uint8_t bytes[8];
} result = {0}; } result = {0};
if (ch > ' ' && ch < 128) { if (ch > 32 && (uint8_t)ch < 128) {
const uint8_t *b = &Font_Bitmap[(ch - ' ') * 5]; const uint8_t *b = &Font_Bitmap[(ch - ' ') * 5];
for (int y = 0; y < 7; y++) { for (int y = 0; y < 7; y++) {

Loading…
Cancel
Save