I am working with scala and xsl-fo to generate pdfs.
I have a table with a column having numerical values. My requirement is to display numbers in a way such that their decimals align.
So my approach is add leading spaces so that we have same number of characters before decimal. With '0' as leading character, I have following display and things seem to work.
But with empty space, things don't work as empty spaces are discarded:
Is there a way to get empty spaces working OR if there is a better way to achieve the objective?

