I think it is because of the difference between JUSTIFIED and JUSTIFIED_ALL. The former is usually the way to go, the latter usually creates the problem described by you. Please check the code once again or switch between the two variants.

On 12/9/05, Mitch Freed <[EMAIL PROTECTED]> wrote:
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

Reply via email to