'\u00a0' works great. Thanks!
 
-Mitch
 


From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: Friday, December 09, 2005 1:30 AM
To: Mitch Freed; [email protected]
Subject: RE: [iText-questions] line justification

That's expected for justified text that also spaces the chars. You can turn off the char spacing with PdfWriter.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO). Another option is to use '\u00a0' underlined instead of underscores.


From: [EMAIL PROTECTED] on behalf of Mitch Freed
Sent: Fri 09-Dec-05 08:19
To: [email protected]
Subject: [iText-questions] line justification

I have a Paragraph that is set to alignment justify. In this paragraph I have a chunk containing a string of underscores (i.e. "____________________"). For one reason or another I need to be able to draw a line and in some cases wrap the line. To do this I am using the Chunk.setSplitCharacter() -- it works great. However, there are some instances where the line is getting stretched (i.e. "_ _ _ _ _ _ _ _ _ _"), rather than a solid line, because of the alignment. Is there any way to stop that effect?
 
Thanks,
Mitch Freed
[EMAIL PROTECTED]

Reply via email to