flyover / imgui-js

JavaScript bindings for Dear ImGui using Emscripten and TypeScript
https://flyover.github.io/imgui-js/example/
MIT License
915 stars 98 forks source link

Emojis/Non-latin glyphs #47

Open phorcys420 opened 2 years ago

phorcys420 commented 2 years ago

I am trying to display Emojis, and the Tribar character (U+2261, ≡) for a project that uses imgui-js. In traditional C++ Dear ImGui, that's how you would load a font using a custom glyph range: https://github.com/ocornut/imgui/blob/master/docs/FONTS.md#using-custom-glyph-ranges

How would I go on about doing that in imgui-js ?