Thanks again for helpful replies...

Did have a second look in the code generating the PDF, and I think I've
missed a part here.
Using property files to retrieve words/sentences to be added I sometimes add
a white space and sometimes not depending om different conditions. And in
this case I think the problem was due the fact that a space had been added
between the period and the last word (or character) preceeding the period.
So I guess that iText will treat the following string as one word: 'Hello.'
- meaning that it will not consider the period as a separate block of
characters.

In other words, as long as the character preceding a period is a non white
space character (or a line break etc.) the period will be considered as a
part of the preceding block of characters, am I right?

/R

-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Keeping-things-together-in-the-same-line-tp3013994p3014963.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to