RobLoach / node-raylib

Node.js bindings for Raylib
https://robloach.github.io/node-raylib/
Other
248 stars 20 forks source link

LoadFontEx #67

Open armageddon421 opened 4 years ago

armageddon421 commented 4 years ago

LoadFontEx also crashes for me without error. By default, LoadFont loads fonts prerendered with a font size of 20px. I'm trying to show a much larger font, which then looks "ugly". LoadFontEx takes a list of characters to load as an int* and a count. It'd be nice if we could get this to work.

RobLoach commented 4 years ago

Hmm, I don't see an example in raylib that makes use of the int* part of LoadFontEx. Maybe somehting we should add upstream?

RobLoach commented 4 years ago

https://github.com/RobLoach/node-raylib/blob/master/examples/text/text_font_loading.js