[reportlab-users] Bug suspicion with XPreformatted and underline tag <u></u>.

Bobb reportlab-users@reportlab.com
Fri, 4 Jun 2004 16:28:02 -0400


I did the following, and got the same results (if it means anything to
anyone)

story.append(XPreformatted(str(" ") * 10 +"<u>fdsfd s fs fs f sdf s fs fs f
ds fdsf" + str(" ") * 11 +"</u>", normalStyle))
story.append(XPreformatted(str(" ") * 10 +"<u>fdsfd s fs fs f sdf s fs fs f
ds fdsf" + str(" ") * 11 +"</u>  u udu  udud", normalStyle))
story.append(XPreformatted(str(" ") * 10 +"<u>fdsfd s fs fs f sdf s fs fs f
ds fdsf" + str(" ") * 11 +"</u>   ", normalStyle))
story.append(XPreformatted(str(" ") * 10 +"<u>fdsfd s fs fs f sdf s fs fs f
ds fdsf" + str(" ") * 11 +"</u>qdqds dsd sq", normalStyle))
story.append(XPreformatted(str(" ") * 10 +"<u>fdsfd s fs fs f sdf s fs fs f
ds fdsf" + str(" ") * 11 +"</u>", normalStyle))

same results with 10 and 12 pitch courier...

If I'm not helping, I'll shut up now :)

bobb

----- Original Message -----
From: "Bernard" <reportlab@chatin.info>
To: <reportlab-users@reportlab.com>
Sent: Friday, June 04, 2004 1:52 PM
Subject: [reportlab-users] Bug suspicion with XPreformatted and underline
tag <u></u>.


>
> Version 1.19/Py2.3/Win32
>
> If you look at the following (short) code and at the pdf output, you will
> notice that the underline rendered size change from one character on the
right
> whether you add or not some text after the "</u>" tag. I haven't found yet
a
> workaround for it (I use it on a Midrange(legacy) report generation
program).
>
> Any suggestions will be appreciated.
> Bernard
>
>
>