Text Rendering Hates You Rendering text, how hard could it be? As it turns out, incredibly hard! To my knowledge, literally no system renders text “perfectly”. It’s all best-effort, although some efforts are more important than others. I’ll be assuming you want to support arbitrary text provided by users with custom fonts, colors, and styles with line-wrapping and support for text-selection. Basic
![Text Rendering Hates You - Faultlore](https://cdn-ak-scissors.b.st-hatena.com/image/square/f145d06b48d9d1322d3e328445892366dfbd5d4e/height=288;version=1;width=512/https%3A%2F%2Fgankra.github.io%2Fblah%2Fimg%2Ferror-base.png)