[reportlab-users] Bulleted Text not displaying

Peter Mattingly pmattingly at mail.csuchico.edu
Mon Oct 13 15:34:42 EDT 2008


Here you go:

http://en.wikipedia.org/wiki/Bullet_list

"*The bullet corresponds to Unicode <http://en.wikipedia.org/wiki/Unicode>
character <http://en.wikipedia.org/wiki/Character_%28computing%29> U+2022.*In
HTML <http://en.wikipedia.org/wiki/HTML>, the codes &bull; and &#x2022; give
• and •, respectively, but semantics requires that bulleted items be
achieved with the appropriate use of the <li> tag inside an unordered list (
<ul>). *Unicode also defines a
triangular<http://en.wikipedia.org/wiki/Triangle>bullet
‣ (U+2023).*"

=D

On Mon, Oct 13, 2008 at 12:30 PM, Andy Robinson <andy at reportlab.com> wrote:


> 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

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20081013/0e02a119/attachment.html>


More information about the reportlab-users mailing list