[Feature Request] Safe pathway to LoadFontFromMemory
AITYunivers opened this issue · 4 comments
AITYunivers commented
Feature Request
I would appreciate it if LoadFontFromMemory had a function that could be used in safe applications, similar to LoadImageFromMemory.
Code example
Raylib.LoadFontFromMemory(".ttf", FontData, 12, FontCount, GlyphCount);
chrisdill commented
@AITYunivers There is an existing utility for LoadFontFromMemory that should handle this for you.
AITYunivers commented
@chrisdill Could you point me in the direction?
chrisdill commented
@AITYunivers Sure. You can find the utility method for it here.
AITYunivers commented
Sorry, I don't know how the hell I missed that. My bad.