Support of CJK languages in ImGUI:

Added glyph tables & CJK font (huge file!)
Added glyph tables for Turkish and Vietnamese.
Added glyph tables Thai (font is still missing)
This commit is contained in:
bubnikv 2019-05-23 18:04:27 +02:00
parent 0a43cf0674
commit ded5ad0517
4 changed files with 58 additions and 5 deletions

View file

@ -19,6 +19,8 @@ namespace GUI {
class ImGuiWrapper
{
const ImWchar *m_glyph_ranges;
// Chinese, Japanese, Korean
bool m_font_cjk;
float m_font_size;
unsigned m_font_texture;
float m_style_scaling;