fix for 2-line names with more than 2 parts
This commit is contained in:
parent
6a24ed7dc8
commit
721a59c2d5
@ -250,7 +250,7 @@ class DominionTabs:
|
||||
self.canvas.drawString(textInset+w,h,n[1:])
|
||||
w += pdfmetrics.stringWidth(n[1:],'MinionPro-Regular',fontSize-2)
|
||||
w += pdfmetrics.stringWidth(' ','MinionPro-Regular',fontSize)
|
||||
if tooLong:
|
||||
if tooLong and i == 0:
|
||||
w = 0
|
||||
self.canvas.restoreState()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user