kiero icon indicating copy to clipboard operation
kiero copied to clipboard

How to change the font? i try many ways but not work

Open L1mit1337 opened this issue 1 year ago • 1 comments

批注 2024-07-29 151215

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!!!

L1mit1337 avatar Jul 29 '24 07:07 L1mit1337

Have you tried building the font atlas and/or setting io.DefaultFont?

BenMcAvoy avatar Dec 06 '24 12:12 BenMcAvoy