[reportlab-users] Does <br /> not work in Paragraphs?
Michael Hipp
Michael at Hipp.com
Thu Jul 2 16:39:09 EDT 2009
Paul Barrass wrote:
> Michael Hipp wrote:
>> def _upper_right(self, canvas, doc):
>> ....
>
>> The above code just wraps the lines of the address as if the <br/>
>> wasn't there. Am I doing something wrong or is <br> <br>oken?
>>
> Have you looked at Preformatted and/or XPreformatted - they might be
> more suited to what you want?
Yes. But note that in the code my string has a largew number of leading spaces
as well as extraneous newlines. So this will make it print a lot bigger than it
actually is.
Thanks,
Michael
More information about the reportlab-users
mailing list