imgui_load_font
Load a TTF or OTF font into the live ImGui atlas under a stable ID, with support for glyph ranges, pixel size, and optional icon/fallback merging.
Instructions
Load a TTF or OTF font into the live ImGui atlas under a stable ID. Use imgui_set_font to make it the global default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique font identifier | |
| path | Yes | Native-app-visible TTF or OTF path | |
| merge_into | No | Optional loaded font ID to merge this face into (for icon/symbol fallback fonts) | |
| size_pixels | No | Font size in pixels (default 16) | |
| glyph_ranges | No | Glyph coverage preset (default: unicode) |