[reportlab-users] symbol bullet point question

Tim Roberts timr at probo.com
Mon Mar 13 13:38:53 EST 2006


On Mon, 13 Mar 2006 21:49:09 +1100, Mike Dewhirst
<miked at dewhirst.com.au> wrote:

>I read the docs and found we need a character such as \267 as a bullet.
>
>What does this mean?
>
>I made the bulletFontName = 'Symbol' and am using * for the time being.
>
>I tried to use chr(267) but got ValueError: arg not in range(256) and it 
>didn't like \267 (invalid token)
>  
>

The 267 is octal -- base 8.  That's 183 decimal, or 0xB7 in hex.  That
is, in fact, the "bullet" character in the symbol font.

You should be able to use chr(183) or '\xb7'.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the reportlab-users mailing list