Closed
Description
It took me a while to figure out why loading a font with AddFontFromMemoryTTF crashed but AddFontFromFileTTF worked ok with the same data. Turns out AddFontFromMemoryTTF transfers the ownership of the data to imgui, which is a little surprising. I suggest that you add a flag transfer_ownership: if the flag is off, AddFontFromMemoryTTF should copy the data.
Activity