I added the support for passing null as fontChars and therefore loading the default fontChars in loadFontFromMemory.
If accepted i would change the other font loading functions (Ex, Data...) as well.
I wasn't sure how to handle the types because they were very explicitly handled even though not needed. I prefer doing implicit casts but i can change it back as well.
I added the support for passing null as fontChars and therefore loading the default fontChars in loadFontFromMemory. If accepted i would change the other font loading functions (Ex, Data...) as well.
I wasn't sure how to handle the types because they were very explicitly handled even though not needed. I prefer doing implicit casts but i can change it back as well.