Try to fix fonts
This commit is contained in:
parent
0f0eb3054f
commit
bab1711a5f
@ -60,7 +60,7 @@ typedef struct _tFont
|
|||||||
} sFONT;
|
} sFONT;
|
||||||
|
|
||||||
extern sFONT Font65;
|
extern sFONT Font65;
|
||||||
extern sFONT Font56;
|
extern sFONT Font54;
|
||||||
extern sFONT Font40;
|
extern sFONT Font40;
|
||||||
extern sFONT Font24;
|
extern sFONT Font24;
|
||||||
extern sFONT Font20;
|
extern sFONT Font20;
|
||||||
|
@ -58,7 +58,7 @@ void code(UWORD *blackImage, char* confName) {
|
|||||||
if (codeLength <= 6) {
|
if (codeLength <= 6) {
|
||||||
Paint_DrawString(5, 20, code, &Font65, WHITE, BLACK);
|
Paint_DrawString(5, 20, code, &Font65, WHITE, BLACK);
|
||||||
} else if (codeLength > 6) {
|
} else if (codeLength > 6) {
|
||||||
Paint_DrawString(5, 20, code, &Font56, WHITE, BLACK);
|
Paint_DrawString(5, 20, code, &Font54, WHITE, BLACK);
|
||||||
} else if (codeLength > 8) {
|
} else if (codeLength > 8) {
|
||||||
Paint_DrawString(5, 20, code, &Font40, WHITE, BLACK);
|
Paint_DrawString(5, 20, code, &Font40, WHITE, BLACK);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user