nuklear
nuklear copied to clipboard
.ttc font support?
I got crashed on nk_font_atlas_add_from_file with a ttc font.
Is ttc font supported?
no. that function is meant to work with TTF only. If you really want to use that API you'd need to reimplement nk_tt_InitFont (called here).
The other way you have is not to bake your font at all (render glyphs to an in memory image) and use struct nk_user_font
yourself, such as in GDI demo