[reportlab-users] Bulleted Text not displaying

Andy Robinson andy at reportlab.com
Mon Oct 13 15:30:55 EDT 2008


2008/10/13 Peter Mattingly <pmattingly at mail.csuchico.edu>

> For fans of the XML approach this works for that application:

>

> text = "<para leftIndent=32><bullet

> bulletIndent=15>\xe2\x80\xa2</bullet>This is bulleted text.</para>"

>

> para = Paragraph(text, style=body_style)

> story.append(para)

>

> I got the bullet character from the documentation; Who knows where they got

> that, I certainly can't find any reference that that code / format when I

> google it.


We probably got it from trial and error, looking through all glyphs in
Helvetica and Times Roman for something vaguely bullet-like. But it
was 8 years ago so I can't remember.
If you find any "official" bullet character codes in Unicode which
work better, please let us know...


- Andy


More information about the reportlab-users mailing list