FreeType how to render special chars like ü ä ö?
问题 I am stuck at rendering text with FreeType. Especially non-ascii chars give me a headache. After some trial and error I managed to render some text, but my umlauts do not show: std::string text = "Hauptmenü"; for(std::string::iterator it = text.begin(); it != text.end(); ++it) { std::cout << *it; FT_Face face = loadFace(faceName); FT_Set_Pixel_Sizes(face, 0, fontSize); if(FT_Load_Char(face, *it, FT_LOAD_DEFAULT)) { std::cout << "Could not load character '" << character << "'" << std::endl; }