Fix render issues with fonts
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user