[reportlab-users] UTF8 Encoded Strings

Rich Shepard rshepard at appl-ecosys.com
Wed Oct 31 13:26:32 EDT 2007


On Wed, 31 Oct 2007, Rich Shepard wrote:


> for pairs in pairData:

> textobject.textOut(pairs[0])

> textobject.setXPos(90)

> textobject.textLine(pairs[1])

> pg.drawText(textobject)

> textobject.setXPos(-90)


Oops! The pg.drawText() command should be pulled out of the loop. It was
left there from earlier testing, but the output is much better when written
only once.

Mea culpa,

Rich

--
Richard B. Shepard, Ph.D. | The Environmental Permitting
Applied Ecosystem Services, Inc. | Accelerators(TM)
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863


More information about the reportlab-users mailing list