Is possible to add some greek characters into CImGui text windows?
I tried on demo example and I figured out that all the ttf files in fonts directory of CImGui packages are out of every language except latin chars, so I downloaded OpenSans font copied to fonts directory and add to CImGui.
Here’s the code for Cyrillic(its just part of demo.jl with changed font and added glyph ranges):
fonts_dir = joinpath(@__DIR__, "..", "fonts")
fonts = CImGui.GetIO().Fonts
# default_font = CImGui.AddFontDefault(fonts)
# CImGui.AddFontFromFileTTF(fonts, joinpath(fonts_dir, "Cousine-Regular.ttf"), 15)
CImGui.AddFontFromFileTTF(fonts, joinpath(fonts_dir, "OpenSans-Regular.ttf"), 15, C_NULL, CImGui.GetGlyphRangesCyrillic(fonts))
And now I can add Chinese, Cyrillic, Japanese, Korean and Thai characters, but not Greek which are only(except latin, which is default) needed ones.