fix for 2-line names with more than 2 parts

This commit is contained in:
Paul Molodowitch 2013-12-23 14:31:41 -08:00
parent 4caba3bfcb
commit c2fa37d7e3

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