change up text alignment for different fonts