Unicode text rendering & editing in 2022

@tschnz I’d recommend against using my code, I’ve stopped using it myself too, so it’s not used in production anywhere right now. The problem was that using an AttributedString doesn’t work on Linux and Windows, only macOS. I believe on Windows it only worked when I was using an OS font instead of a custom font?

The solution that I landed on in the end, is to just ship a huge font with all languages in it, like Go Noto Universal. The drawback is that it consumes some memory and slows down startup, but it does allow my users to write text in any language.

For my own project, I’ve merged it with the Latin characters from Inter and added emoji to it as well, you can find that one here.

2 Likes