From e1dcffd4ce9bd0c5298c0deb2a185deb9b9ddfa2 Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Fri, 19 Aug 2016 16:58:12 +0200 Subject: [PATCH] [Kandinsky] Use fillRect instead of setPixel for text blitting Change-Id: I8aa29abcfbd2f962d8991d24409019f4f58c627c --- kandinsky/src/context_text.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kandinsky/src/context_text.cpp b/kandinsky/src/context_text.cpp index 3d8e62c76..6314c8e50 100644 --- a/kandinsky/src/context_text.cpp +++ b/kandinsky/src/context_text.cpp @@ -1,6 +1,8 @@ #include #include "font.h" +KDColor characterBuffer[BITMAP_FONT_CHARACTER_WIDTH*BITMAP_FONT_CHARACTER_HEIGHT]; + void KDContext::drawChar(char character, KDPoint p, uint8_t inverse) { for (int j=0; j