Use the no-break space \u00a0.

Paulo

----- Original Message ----- 
From: "Gray Jones" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, March 23, 2007 10:40 PM
Subject: [iText-questions] Underlining text with extra whitespace at end?


Hello,

I am trying to recreate a paper form with iText and pdf.  In the paper form 
there are fields where the user is expected to enter data.  When we display 
the form with the data we like to underline the data.  However we want the 
underline to extend a fixed distance regardless of what the user entered.

For example we want it like this

gray

not this

gray

However in iText it always seems to truncate any extra whitespace at the end 
of my datafield.  Does anybody know of a property or something that I can 
use to get the effect I want?

I am using a table and a PdfpCell

Thanks,

Gray Jones


--------------------------------------------------------------------------------


> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


--------------------------------------------------------------------------------


> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to