How to present unicode message in OpenGL?
Exists an excellent way for presenting unicode message in opengl under Windows? As an example, when you need to manage various languages. One of the most usual strategy like
#define FONTLISTRANGE 128 GLuint list; list = glGenLists(FONTLISTRANGE); wglUseFontBitmapsW(hDC, 0, FONTLISTRANGE, list);
simply will not do due to the fact that you can not create adequate checklists for all unicode personalities.
You might need to create you possess "glyph cache" in appearance memory as you go, possibly with some type of LRU plan to stay clear of damaging every one of the appearance memory. Not virtually as very easy as your existing method, yet might be the only means offered the variety of unicode chars