You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
If you try to specify multiple glyph ranges, you only get the first one.
For example:
// In setup():auto robo = getAssetPath("Roboto-Medium.ttf");
autoconst firstArrow = L'←';
autoconst 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
}