How to Optimize for Legibility Using Text-Rendering