Re: [iText-questions] Problem with Font.UNDERLINE and setKeepTogether(true);

2013-01-20 Thread 1T3XT BVBA
On 17/01/2013 10:04, Christian wrote: Hello, The following Code produces a pdf document. Don't use normal spaces, use non breaking spaces (/u00a0) instead. Also use Chunk.setUnderline() instead of a font that underlines.

[iText-questions] Problem with Font.UNDERLINE and setKeepTogether(true);

2013-01-20 Thread Christian
​Hello, The following Code produces a pdf document. public class PDFtest {     private static final Font NORMAL_FONT = new Font(Font.FontFamily.TIMES_ROMAN, 12, Font.NORMAL);     private static final Font NORMAL_FONT_RED = new Font(Font.FontFamily.TIMES_ROMAN, 12, Font.NORMAL, BaseColor.RED);