I like that I can select only a few icons and generate a custom true type font straight from the web application.
The toolkit is Dear ImGui and I load the TTF font with the simple API AddFontFromMemoryCompressedBase85TTF.
Then when I need a button with an Icon I just use it like this: if (ImGui::Button(ICON_FIRST, button_sz)) { }
The trick in C++ was to define the ICON_FIST in this way:
#define ICON_FIRST u8"\uea21"
I can then rescale my interface by simply changing the font size and the icons keep all nice and clean.
And if you in-line the SVG then you don’t get caching benefits.
Plus you can actually style the individual strokes with icomoon icons - it’s just not as trivial.
Disclaimer: I’ve been a happy icomoon customer for years (I just wish they had an API).
I like that I can select only a few icons and generate a custom true type font straight from the web application.