[reportlab-users] UTF8 Encoded Strings
    Robin Becker 
    robin at reportlab.com
       
    Wed Oct 31 14:15:17 EDT 2007
    
    
  
Rich Shepard wrote:
> On Wed, 31 Oct 2007, Robin Becker wrote:
> 
>> I'm getting an illegal operation opening that pdf 'Td outside textobject.
>> Did you forget to close the textobject?
> 
> Robin,
> 
>   When I put
> 
>     textobject = pg.endText()
> 
> immediately following the line
> 
>     pg.drawText(textobject
> 
> I see the following python error:
> 
> Traceback (most recent call last):
>   File "learnRL.py", line 96, in ?
>     econRun()
>   File "learnRL.py", line 88, in econRun
>     textobject = pg.endText()
> AttributeError: Canvas instance has no attribute 'endText'
......
tx = canv.beginText()
...........
canv.drawText(tx)
-- 
Robin Becker
    
    
More information about the reportlab-users
mailing list