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