in reply to Dynamic text (amount in decimal) not aligned on PDF
Too much code to figure out.
However, did you try using a fixed width font for the amount column?