[reportlab-users] Platypus & Preformatted Text
Robin Becker
robin at reportlab.com
Fri Jun 17 03:33:16 EDT 2005
george wrote:
> Two related (I think) problems:
>
> 1. The userguide documents Preformatted(); but I can't find it
from reportlab.platypus import Preformatted
> 2. How do I use a fixed width font with XPreformatted() to simulate
> typed text?
>
checkout reportlab/test/test_paragraphs.py.
so
XPreformatted('''<para font=Courier">This is text.
Another line is here
and another''',styNormal)
where styNormal is a paragraph style object.
--
Robin Becker
More information about the reportlab-users
mailing list