vallentin / glText

Cross-platform single header text rendering library for OpenGL
zlib License
166 stars 17 forks source link

Support for umlauts #3

Open helgrima opened 5 years ago

helgrima commented 5 years ago

Would be nice to have support for umlauts: ü, ä, ö, Ü, Ä and Ö. And to be fair, maybe for å and Å also.

https://en.wikipedia.org/wiki/Umlaut_(linguistics)

vallentin commented 5 years ago

Would definitely be a nice thing to have. Even my native language (and keyboard) has å and Å.

However, the current implementation is using a char* and assumes it contains 1-byte ASCII characters. So any potential UTF-8 requires a more substantial rewrite.

In the mean time consider taking a look at FreeType GL.

helgrima commented 5 years ago

Sounds reasonable. As I am using this for simple logging purposes, this fills my needs for now.