I believe this can happen if your alignment is set to justified. If it is, then set it to left and see whether the problem goes away. (Note: for alignment to be justified, you'd have to set it explicitly.)
---mr. bean >>> re >>> 1T3XT info wrote: > > TaRe wrote: >> I am creating a PDF document that requires all characters to be the same >> width. >> >> protected static Font defaultFont = >> FontFactory.getFont(FontFactory.COURIER, 6, Font.NORMAL); >> >> However, I find that the whitespaces have different width than the other >> letters and numbers. > > This is very hard to believe. Please provide proof. Also note that the > font isn't embedded, maybe you are using some faulty viewer. > -- > This answer is provided by 1T3XT BVBA > http://www.1t3xt.com/ - http://www.1t3xt.info > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > > -- View this message in context: http://www.nabble.com/Issue-with-Courier-font-white-spaces-width-tp21595235p21646757.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php