[reportlab-users] Bug in new para.py

Dirk Holtwick reportlab-users@reportlab.com
Tue, 27 May 2003 11:16:19 +0200


Dirk Holtwick wrote:
> for now here is a workaround:
> 
> class PmlPara(Para):
> 
>     def wrap(self, aw, ah):
>         state = self.state
>         if state:
>             leading = state["leading"]
>         else:
>             leading = self.style1.leading
>         w, h = Para.wrap(self, aw, ah)
>         return w, h - leading

sorry, this workaround doesn't work the way expected. bug needs to be 
fixed directly in para.py

bye, dirk

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

spirito GmbH
Lerchenstr. 8
D-47057 Duisburg

fon: +49 203 3187778
mbx: holtwick@spirito.de
web: http://www.spirito.de