david kingston wrote:
HiI have a column in a PdfPtable for displaying prices for various countries. However, when these prices are formated using a DecimalFormatter and the cell is aligned to the right, there seems to be inconsitent behaviour in rendering the cell contents.
When I look at the resulting PDF (in attachment), I don't see any inconsistencies when the content is aligned to the right. When aligned to the left, the dots, spaces and/or commas aren't aligned properly because the currency symbols don't have the same width. Then again, if you have different amounts (hundreds vs thousands, etc...), you'll have to use right alignment, so I think you're talking about the column on the right. What is the problem with that column? What is inconsistent in your eyes, except for the fact that you are mixing different locales? br, Bruno
testCurrencyFromat.pdf
Description: application/octetstream
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ 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/
