nuklear icon indicating copy to clipboard operation
nuklear copied to clipboard

nk_font_atlas_add_from_memory and nk_font_atlas_add_from_file wont work

Open ghost opened this issue 6 years ago • 1 comments

Im using example from https://github.com/vurtun/nuklear/blob/c3f6c73d5ccd559426b22f63907119e3b95faf80/demo/d3d11/main.c#L195

nk_font_atlas_add_from_memory and nk_font_atlas_add_from_file are always returning zeroes without any errors. Debug output https://i.imgur.com/i42it80.png . I've tried using different font, but result is the same as on screenshot. Any help?

ghost avatar Jul 10 '19 14:07 ghost

The debug output doesn't tell me much. But anyway I think you'll find your answer by looking at the d3d11 backend (and demo) source code. If you won't be successful, post your full source code so that others can potentially try to compile and run it to help you.

dumblob avatar Jul 10 '19 16:07 dumblob