chrisdill / raylib-cs

C# bindings for raylib, a simple and easy-to-use library to learn videogames programming

Home Page:http://www.raylib.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Safe pathway to LoadFontFromMemory

AITYunivers opened this issue · comments

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);

@AITYunivers There is an existing utility for LoadFontFromMemory that should handle this for you.

@chrisdill Could you point me in the direction?

@AITYunivers Sure. You can find the utility method for it here.

Sorry, I don't know how the hell I missed that. My bad.