if fontsize == nil then
local font_path = getFolderPath(0x14) .. '\\trebucbd.ttf'
assert(doesFileExist(font_path), 'WTF: Font "' .. font_path .. '" doesn\'t exist')
imgui.SwitchContext()
local builder = imgui.ImFontAtlasGlyphRangesBuilder()
builder:AddRanges(imgui.GetIO().Fonts:GetGlyphRangesCyrillic())
builder:AddText(u8'‚„…†‡€‰‹‘’“”•–—™›№')
glyph_ranges = builder:BuildRanges()
fontsize = imgui.GetIO().Fonts:AddFontFromFileTTF(font_path, 15.0, nil, glyph_ranges)
end