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 3b3d9ff128
commit 70e8a513e5

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