slages / love-imgui

imgui module for the LÖVE game engine
MIT License
318 stars 61 forks source link

Add support for asian fonts? #20

Open harrisyu opened 6 years ago

harrisyu commented 6 years ago

Some infomation here : https://github.com/ocornut/imgui/issues/307 Something like this to GetGlyphRanges : io.Fonts->AddFontFromFileTTF("../../extra_fonts/Arial.ttf", 18.0f, NULL, io.Fonts->GetGlyphRangesChinese());