bug fix from Alex Smishlajev
bug fix from Alex Smishlajev

Distrotech/reportlab,kanarelo/reportlab,Distrotech/reportlab,kanarelo/reportlab,Distrotech/reportlab,Distrotech/reportlab,Distrotech/reportlab,kanarelo/reportlab,kanarelo/reportlab,kanarelo/reportlab