[reportlab-users] Bulleted Text not displaying

Peter Mattingly pmattingly at mail.csuchico.edu
Mon Oct 13 15:58:12 EDT 2008


Sure, see for yourself:

http://www.google.com/search?hl=en&fkt=&fsdt=&q=\xe2\x80\xa2&btnG=Google+Search&aq=f&oq=&sourceid=Mozilla-search

The search wasn't very helpful in finding out more about the bullet
character.

The code you posted does something odd on my setup:

∂ This is bulleted text.

I don't know if that'll come through, here's a Wikipedia page:

http://en.wikipedia.org/wiki/%E2%88%82


On Mon, Oct 13, 2008 at 12:41 PM, Tim Roberts <timr at probo.com> wrote:


> Peter Mattingly wrote:

> > 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.

>

> Really? Those three bytes are the UTF-8 representation of the Unicode

> character U+2022, which is "Bullet". So, it could have been written:

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

> bulletIndent=15>\u2202</bullet>This is bulleted text.</para>"

>

> --

> Tim Roberts, timr at probo.com

> Providenza & Boekelheide, Inc.

>

> _______________________________________________

> 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/78a51350/attachment.html>


More information about the reportlab-users mailing list