See p. 347-350 in the book. The methods you're looking for are
setCharacterSpacing() and setWordSpacing().

Best wishes,

---mr. bean


Stephan Michels wrote:
> 
> Hi,
> 
> is it possible to set the word spacing and character spacing, for
> example a paragraph?
> I have to increase the values to prevent orphans in a column layout.
> 
> I inspected the source code and found that
> PdfDocument.writeLineToContent() changed the values for justified
> lines, but no way to change the value directly.
> 
> BTW, that the meaning of the value "lastBaseFactor" in this method?
> 
> Thank you,
> Stephan Michels.
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/WordSpacing-and-CharacterSpacing-tp15130366p15130943.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to