you are in difficult terratory here, PdfContentByte (eg PdfTemplate) has character spacing (tracking) and also other such features as horizontal spacing, however, with this you lose any form of built-in text wrapping, so yes, you can have your cake but you can't eat it. This means that, to get your spacing adjustments you will have to wrap text yourself and this is no small task. If you decide to try you can set template parameter such as:
template.setCharacterSpacing(tracking); template.SetHorizontalScaling(hscaling); If you place ColumnText in your template and your template has the above, your text will not wrap correctly. Jost Klopfstein-2 wrote: > > Hi, > > Is it possilbe to increase the letterspacing for paragraphs or a > phrases to e.g. +0.7pt? > > setCharAdvance seems to ignore the width of a glyph and has to be set for > each character. > > Thanks, Jost > This March Break, Have An Indoor Fun-For-All! > > > > ------------------------------------------------------------------------- > 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/ > > -- View this message in context: http://www.nabble.com/Increase-letterspacing-tf3401161.html#a9501252 Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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/
