[ale] building pdf from python with reportlab

Alex Carver agcarver+ale at acarver.net
Tue Aug 26 10:50:53 EDT 2014



On 2014-08-26 07:37, jkinney wrote:
> I'm trying to generate a 1-page pdf that has some text and a single
> image (a qrcode) and I'm hitting issues. The docs for reportlab are a
> better than many but still missing key details. The following will
> generate the page, the text starts at the correct location, BUT the
> text runs vertical down the page. I have found nothing that indicates
> how to do that or fix it. By vertical down the page I mean:
> l
> i
> k
> e
> 
> t
> h
> i
> s
> 
> grr! That _really_ messes up ascii art!
<snip>


What does the generated PostScript look like (assuming it's generating
actual, human readable PS code and not a binary blob wrapped in PS)?


More information about the Ale mailing list