修改适配非等宽字体的计数器

This commit is contained in:
2026-08-26 16:23:04 +08:00
parent 950d0d0386
commit 190155913a
10 changed files with 267 additions and 70 deletions
+2
View File
@@ -989,6 +989,8 @@ typedef struct {
int datHeight; // 变量的高度
int rowByteNum;
bool original; //表示当前dat是通过calloc申请而来还是直接引用别人的指针,主要是影响到指针的释放
uint8_t widthTable[10]; // 非等宽字体下,每个数字所占用的宽度
}vars_t;
typedef struct{