miscellaneous text formatting functions using SFML