- 243
- 22
- Версия MoonLoader
- .026-beta
пропал fawesome после добавления шрифта. помогите
Lua:
imgui.OnInitialize(function()
theme[colorListNumber[0]+1].change()
style[decorListNumber[0]+1].decorchange()
imgui.GetIO().IniFilename = nil
local config = imgui.ImFontConfig()
config.MergeMode = true
config.PixelSnapH = true
iconRanges = imgui.new.ImWchar[3](faicons.min_range, faicons.max_range, 0)
imgui.GetIO().Fonts:AddFontFromMemoryCompressedBase85TTF(faicons.get_font_data_base85('solid'), 14, config, iconRanges)
local glyph_ranges = imgui.GetIO().Fonts:GetGlyphRangesCyrillic()
myFont = imgui.GetIO().Fonts:AddFontFromFileTTF('moonloader/resource/fonts/EagleSans-Regular.ttf', 15, nil, glyph_ranges)
end)