Help me. I can't create font. When I create it, it doesn't load by engine. May be I do something wrong. But when I create a texture of font, it doesn't contain yellow and red points such as in standart texture (from example) has. Are this points important ?
A lot of people ask this question, rather than add it to the FAQ I've updated the error message when no dots are found. It now gives the user a hint to load the XML file instead
Have some more trouble ...
this line
menu->addItem(stringw(stringc("Слои").c_str()).c_str(), -1, true, true); doesn't work ...
but line
menu->addItem(L"Слои", -1, true, true); works correctly
Chmel_Tolstiy wrote:Have some more trouble ...
this line
menu->addItem(stringw(stringc("Слои").c_str()).c_str(), -1, true, true); doesn't work ...
but line
menu->addItem(L"Слои", -1, true, true); works correctly
I wrote my own convert function ... that find russian letters in irr::core::stringc and replace it with wchar_t letter to irr::core::stringw ... any other simbols stay without change.