[reportlab-users] underlined strings
Tim Roberts
timr at probo.com
Wed May 17 12:50:44 EDT 2006
On Wed, 17 May 2006 10:12:47 +0200, snitsch at kuhnke.de wrote:
>Hello together !
>
>There are guaranteed following standart fonts in reportlab:
>...
>
>Question: How can I use in PDF-Documents within ReportLab underlined fonts
>?
>
>
There is no such thing as an "underlined font". You can certainly
underline a string by getting its size (canvas.stringWidth) and drawing
the line yourself about 2 points underneath the baseline.
Or, if you are using platypus paragraphs, you can use the HTML
<u>designation</u>.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the reportlab-users
mailing list