Patrick Kaegi wrote:
> the code looks like this:
> 
> Paragraph paragraph = new Paragraph();
> paragraph.add(new Phrase("foo ", normalFont);
> paragraph.add(new Phrase("bold", boldFont);
> paragraph.add(new Phrase(" bar", normalFont);
> document.add(paragraph);
> 
> and the text looks like this if "bar" begins on a new line:
> 
> foo bold
>  bar
> 
> (there is always a space before bar, even on a new line)
> 
> why can bar be on a new line: because of auto-line-break

OK, thanks for the clarification.
This is something I'll have to test.
I'll have a look at it in the weekend.
I have just made a new release...
br,
Bruno

-------------------------------------------------------------------------
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