fix for 2-line names with more than 2 parts

This commit is contained in:
Paul Molodowitch 2013-12-16 07:51:40 -08:00
parent 6a24ed7dc8
commit 721a59c2d5

View File

@ -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()