Hallo, list! I've found that PdfContentByte.showTextAligned() has problems when used with RIGHT or CENTER alignment AND one or more of the following methods has been called:
setHorizontalScaling() setCharacterSpacing() setWordSpacing() PdfContentByte seems to ignore the changes in string width made by these features. I've changed PdfContentByte.java (v1.3) to make it handle these cases, and while the test programs works fine, I don't know if the corrections break some higher level structure. I'll post the modified source (or a diff?) if someone is interested. b.r. -- Federico Scala ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions