Too much code to figure out.
However, did you try using a fixed width font for the amount column?
In reply to Re: Dynamic text (amount in decimal) not aligned on PDF
by RonW
in thread Dynamic text (amount in decimal) not aligned on PDF
by osexplorer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |