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