I've done a fair amount of it but not with CF. We use Justify (
https://github.com/leadpony/justify) primarily from the command-line or embedded in automation scripts. Not sure if the underlying classes there are exposed in a way you could use them within CF logic, but you could conceivably do it via cfexecute if not?