title: Python ReportLab: Center string
body: <p>I'm currently placing a string with:</p>
  
  <pre><code>can = canvas.Canvas(packet, pagesize=letter)
          can.setFont('Helvetica-Bold',12) # Change Font, Font-size, etc
          can.drawString(300, 340, row["name"]) # Change position. First number = points from left, secoond = points from bottom
  </code></pre>
  
  <p>I now have the need to center the string, i.e. just give drawstring the height, the string itself must always be centred.</p>
  
  <p>I searched the net, but couldn't find an easy way to do so. Am I overseeing something?</p>
  
  <p>thanks </p>