ImFontConfig _config;
static const ImWchar icons_ranges[] = { 0xf000, 0xf3ff, 0 };
_config.MergeMode = false;
str = string(buffer) + "\\Fonts\\consolab.ttf";
fs::path path = fs::current_path() / "SAMPFUNCS" / "All in one" / "Kill Informer";
io.Fonts->AddFontFromFileTTF(str.c_str(), 16, &_config, io.Fonts->GetGlyphRangesCyrillic());
vector <string> v = { "FA 5 Brands", "FA 5 Regular", "FA 5 Solid" };
for (const auto& it : v) {
_config.MergeMode = true;
str = path.string() + "\\" + it + ".otf";
io.Fonts->AddFontFromFileTTF(str.c_str(), 20, &_config, icons_ranges);
}