Try to fix fonts

This commit is contained in:
Steven Tracey 2024-11-22 16:38:02 -05:00
parent 0f0eb3054f
commit bab1711a5f
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ typedef struct _tFont
} sFONT;
extern sFONT Font65;
extern sFONT Font56;
extern sFONT Font54;
extern sFONT Font40;
extern sFONT Font24;
extern sFONT Font20;

View File

@ -58,7 +58,7 @@ void code(UWORD *blackImage, char* confName) {
if (codeLength <= 6) {
Paint_DrawString(5, 20, code, &Font65, WHITE, BLACK);
} else if (codeLength > 6) {
Paint_DrawString(5, 20, code, &Font56, WHITE, BLACK);
Paint_DrawString(5, 20, code, &Font54, WHITE, BLACK);
} else if (codeLength > 8) {
Paint_DrawString(5, 20, code, &Font40, WHITE, BLACK);
}