Added text align feature for HardwareTextFormat.
- LeftToRightLayout.as now considers the text alignment of the last HardwareTextFormat.as in the line.