kiero
kiero copied to clipboard
How to change the font? i try many ways but not work
i use these code: ImGuiIO& io = ImGui::GetIO(); (void)io; io.Fonts->AddFontFromFileTTF("c:\Windows\Fonts\msyh.ttc", 16.0f, NULL, io.Fonts->GetGlyphRangesChineseFull());
not work!!!
Have you tried building the font atlas and/or setting io.DefaultFont?