Update(boards): xpython板卡执行 build:prod

This commit is contained in:
王立帮
2025-01-13 14:39:16 +08:00
parent cd53d4873a
commit 3a3fc5c8bf
26 changed files with 248 additions and 71 deletions

View File

@@ -401,7 +401,7 @@ class FrameBuffer_Uincode(FrameBuffer_Base):
for line in lines:
for char in line:
buffer = self._font.chardata(char)
if x > self.width - buffer[1][0]:
if x > self.width - buffer[1][0] * size:
x = 0
y = buffer[1][1] * size + y + space_y
if y > self.height: