Been playing around with this… But I am not getting anywhere. The most obvious problem is that I wont have a large enough texture… Chinese isn’t written like english, where you have 26 letters and from that can construct any word; each word has its own Character. So if I were to write:
你好啊,今天吃饭了吗?昨天老师给我们贴别多的作业!我很晚去睡觉哈哈。
All of these characters have their own respective meaning. But since it isn’t a letter-based system there are THOUSANDS of characters to choose from; i.e. how can I fit them all onto a texture?
The second problem I run into, which is where this is an issue with the STB library. The chinese characters stored in unicode are ALL OVER THE PLACE. Which is annoying because with STB you just declare a start and an end, and it fills the middle in with letters. But I need to define a lot of ranges spanning thousands of numbers to store them. I am not quite sure what to do.