Skip to content

Commit ff9dd95

Browse files
committed
update for testing getstringwidths
1 parent 1a2b1e4 commit ff9dd95

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tmtest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,11 @@ def __init__(self):
351351
print(out1)
352352
for sturinga in out1:
353353
print(sturinga.String())
354+
larstr=[]
355+
for s in arstr:
356+
larstr.append(len(s))
357+
sw=fen.GetStringWidths(arstr,larstr)
358+
print(sw)
354359

355360
def MessageReceived(self, msg):
356361
if msg.what == 1:

0 commit comments

Comments
 (0)