Fix render issues with fonts

This commit is contained in:
Adolfo Reyna
2026-01-30 22:02:15 -05:00
parent e3445b545d
commit 436245a7a2
5 changed files with 30 additions and 17 deletions

View File

@@ -56,7 +56,7 @@ Font font_tama_mini02_obj(reinterpret_cast<const unsigned char*>(font_tama_mini0
Font font_zxpix_obj(reinterpret_cast<const unsigned char*>(font_zxpix), 96, 6, 8);
LowLevelRenderer::LowLevelRenderer(uint8_t* buffer, int width, int height)
: bit_buffer(buffer), V_WIDTH(width), V_HEIGHT(height), current_font(nullptr),
: bit_buffer(buffer), V_WIDTH(width), V_HEIGHT(height), current_font(&font_5x5_obj),
clipping_enabled(false), clip_x(0), clip_y(0), clip_width(width), clip_height(height), text_color(true) {}
void LowLevelRenderer::set_font(const Font* font) {