Hi,

I am trying to create a PDF with a footer at the bottom of each page.
I use contentByte() to do this.
It works fine to add the text (with showTextAligned()) and it looks like
expected.
But the URLs and email addresses that are added are not correctly converted
into links.
-------------------------
The URLs are not converted at all, and the email address is converted in a
strange way:

The mailto-link stretches from the first occurence of any of the characters:
" - (dash), . (dot) or @" and to the end of the row.

Example: 
The row: "E-mail: [EMAIL PROTECTED] - www.google.com"
creates a mailto-link that looks like this: "mailto:-mail: [EMAIL PROTECTED] -
www.google.com"
-------------------------

Is this a bug or is this not the intended way to add emails and URLs?
How should I do instead?


//Daniel

PS. It works correct when adding it to the document directly.
-- 
View this message in context: 
http://www.nabble.com/Links-with-contentbyte-tp17698880p17698880.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to