title: ReportLab: How to align a textobject?
body: <p>I have the following ReportLab code:</p>
  
  <pre><code>    t = c.beginText()
      t.setFont('Arial', 25)
      t.setCharSpace(3)
      t.setTextOrigin(159,782)
      t.textLine("Some string")
      c.drawText(t)
  </code></pre>
  
  <p>What I want to achieve is: have a 3 (pixels?) space between each character (<code>setCharSpace</code>), and align the resulting string in the center of a certain area in the page</p>
  
  <p>The textobject is the only way, as far as I found, that I can specify a space between characters.</p>
  
  <p>Any ideas?</p>