[reportlab-users] Bug in textlabels.py: _text2PathDescription-Function

Simon Riek riek at zem.uni-bonn.de
Wed Oct 10 05:51:15 EDT 2007


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






More information about the reportlab-users mailing list