local function load_default_font()
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('‚„…†‡€‰‹‘’“”•–—™›№')
glyph_ranges = builder:BuildRanges()
imgui.GetIO().Fonts:AddFontFromFileTTF(font_path, 14.0, nil, glyph_ranges)
font_loaded = true
end