Add font to FontStash, using data from memory.
And already loaded font to FontStash. You can replace existing logical fonts. But note that you can't remove logical font by passing "empty" data.
logical font name, that will be used to select this font later.
font data.
font data size.
should FontStash take ownership of the font data?
should FontStash use antialiased font rasterizer?
font id or FONS_INVALID.
See Implementation
Add font to FontStash, using data from memory.
And already loaded font to FontStash. You can replace existing logical fonts. But note that you can't remove logical font by passing "empty" data.