Commit 5aa9ae60 authored by Sergio Costas's avatar Sergio Costas

Fixed text top position

parent 9463a89d
......@@ -226,17 +226,16 @@ uint8_t LLScreen::printchar(uint8_t carac, int16_t x, int16_t y, uint8_t color,
uint8_t height;
int8_t top;
uint8_t * counter;
int8_t * counter2;
carac -= 32;
offset = charset.offsets[carac];
counter = charset.data + offset;
width = *(counter++);
height = *(counter++);
counter2 = (int8_t *) counter;
top = *(counter2++);
counter += 4;
offset = charset.offsets[carac];
counter = charset.data + offset;
width = *(counter++);
height = *(counter++);
counter++;
top = *counter;
counter += 3;
// y+=charset.max_top;
lugar = this->memory + (y * this->width + x);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment