[reportlab-users] symbol bullet point question
Mike Dewhirst
miked at dewhirst.com.au
Mon Mar 13 14:57:16 EST 2006
Tim Roberts wrote:
> 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
Thank you very much - works wa treat :)
Mike
More information about the reportlab-users
mailing list