[reportlab-users] Bug in	textlabels.py:	_text2PathDescription-Function
    Robin Becker 
    robin at reportlab.com
       
    Wed Oct 10 06:14:36 EDT 2007
    
    
  
Simon Riek wrote:
> There is a small bug in the _text2PathDescription-Function in 
> textlabels.py: the variable text_anchor is undefiend. it should be 
> anchor instead:
> 
> if anchor=='end':
>    x = x-textLen
> elif anchor=='middle':
>    x = x - textLen/2.
> 
> Best regards
> 
> Simon
.......
Thanks
it was a cut&paste bug :(
now fixed :)
-- 
Robin Becker
    
    
More information about the reportlab-users
mailing list