This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void lcd_font_char_xy(int xPos, int yPos, char character, FONT_INFO* fontInfo, uint16_t fgColor, uint16_t bgColor) | |
{ | |
unsigned short i = 0; | |
unsigned short j = 0; | |
unsigned short height = fontInfo->heightPages * 8; | |
unsigned short width; | |
unsigned short tableOffset = character - fontInfo->startChar;//32; | |
FONT_CHAR_INFO fontCharInfo = fontInfo->charInfo[(tableOffset)]; | |
uint16_t offset = fontCharInfo.offset; | |
uint16_t lineOffset; |