If you try to specify multiple glyph ranges, you only get the first one.
For example:
// In setup():
auto robo = getAssetPath("Roboto-Medium.ttf");
auto const firstArrow = L'←';
auto const lastArrow = L'↓';
auto options = ui::Options()
.fonts({ { robo, 16.0f } }, false)
.fontGlyphRanges(robo.stem().string(), { 0x20, 0xff, firstArrow, lastArrow, 0 });
// ... more setup of options ...
ui::initialize(options);
Then, later in the GUI drawing code, try to draw using a mixture of characters from both glyph ranges (here, the arrows will show the "missing" symbol). For example:
if (ui::MenuItem(u8"Move up (shift-↑)")) {
// blah
}
If you try to specify multiple glyph ranges, you only get the first one.
For example:
Then, later in the GUI drawing code, try to draw using a mixture of characters from both glyph ranges (here, the arrows will show the "missing" symbol). For example: