更新自强版支持的库

This commit is contained in:
dahanzimin
2025-01-09 10:11:55 +08:00
parent a745ff7bfa
commit b55243bb1d
6 changed files with 503 additions and 1 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: