[reportlab-users] Bug suspicion with XPreformatted and underline tag <u></u>.
Bernard
reportlab-users@reportlab.com
Fri, 4 Jun 2004 19:52:01 +0200
This message is in MIME format.
---MOQ10863715211f908f7aa2f2c308a2a1239e513d80b1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
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
---MOQ10863715211f908f7aa2f2c308a2a1239e513d80b1
Content-Type: text/plain; name="pdfdemo.py"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="pdfdemo.py"
IyBkZW1vIHJlcG9ydGxhYiAxLjE5IHRhZ3MgaW4gJiBwcm9ibGVtDQpmcm9tIHJlcG9ydGxhYi5s
aWIuc3R5bGVzIGltcG9ydCBQYXJhZ3JhcGhTdHlsZQ0KZnJvbSByZXBvcnRsYWIubGliLnN0eWxl
cyBpbXBvcnQgZ2V0U2FtcGxlU3R5bGVTaGVldA0KZnJvbSByZXBvcnRsYWIucGxhdHlwdXMgaW1w
b3J0IFBhcmFncmFwaCwgWFByZWZvcm1hdHRlZA0KZnJvbSByZXBvcnRsYWIucGxhdHlwdXMgaW1w
b3J0IFNpbXBsZURvY1RlbXBsYXRlDQpmcm9tIHJlcG9ydGxhYi5saWIucGFnZXNpemVzIGltcG9y
dCBBNA0KZnJvbSByZXBvcnRsYWIucGxhdHlwdXMuZmxvd2FibGVzIGltcG9ydCBQYWdlQnJlYWsN
Cg0Kc3R5bGVzaGVldD1nZXRTYW1wbGVTdHlsZVNoZWV0KCkNCm5vcm1hbFN0eWxlID0gc3R5bGVz
aGVldFsnTm9ybWFsJ10NCm5vcm1hbFN0eWxlLmZvbnROYW1lID0gIkNvdXJpZXIiDQpub3JtYWxT
dHlsZS5mb250U2l6ZSA9IDgNCnN0b3J5ID0gW10NCnN0b3J5LmFwcGVuZChYUHJlZm9ybWF0dGVk
KCIgICAgICA8dT5mZHNmZCBzIGZzIGZzIGYgc2RmIHMgZnMgZnMgZiBkcyBmZHNmICAgICAgICAg
ICA8L3U+Iiwgbm9ybWFsU3R5bGUpKQ0Kc3RvcnkuYXBwZW5kKFhQcmVmb3JtYXR0ZWQoIiAgICAg
IDx1PmZkc2ZkIHMgZnMgZnMgZiBzZGYgcyBmcyBmcyBmIGRzIGZkc2YgICAgICAgICAgIDwvdT4g
IHUgdWR1ICB1ZHVkIiwgbm9ybWFsU3R5bGUpKQ0Kc3RvcnkuYXBwZW5kKFhQcmVmb3JtYXR0ZWQo
IiAgICAgIDx1PmZkc2ZkIHMgZnMgZnMgZiBzZGYgcyBmcyBmcyBmIGRzIGZkc2YgICAgICAgICAg
IDwvdT4gICAiLCBub3JtYWxTdHlsZSkpDQpzdG9yeS5hcHBlbmQoWFByZWZvcm1hdHRlZCgiICAg
ICAgPHU+ZmRzZmQgcyBmcyBmcyBmIHNkZiBzIGZzIGZzIGYgZHMgZmRzZiAgICAgICAgICAgPC91
PnFkcWRzIGRzZCBzcSIsIG5vcm1hbFN0eWxlKSkNCnN0b3J5LmFwcGVuZChYUHJlZm9ybWF0dGVk
KCIgICAgICA8dT5mZHNmZCBzIGZzIGZzIGYgc2RmIHMgZnMgZnMgZiBkcyBmZHNmICAgICAgICAg
ICA8L3U+Iiwgbm9ybWFsU3R5bGUpKQ0KZG9jID0gU2ltcGxlRG9jVGVtcGxhdGUoJ3BkZmRlbW8u
cGRmJyxwYWdlc2l6ZSA9IEE0KQ0KZG9jLmJ1aWxkKHN0b3J5KQ==
---MOQ10863715211f908f7aa2f2c308a2a1239e513d80b1
Content-Type: application/pdf; name="pdfdemo.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="pdfdemo.pdf"
JVBERi0xLjMNCiWTjIueIFJlcG9ydExhYiBHZW5lcmF0ZWQgUERGIGRvY3VtZW50IGh0dHA6Ly93
d3cucmVwb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