xash3d
xash3d copied to clipboard
Font rendering system
Maybe add ttf support and some API for drawing text in mods? Need lightweight and portable font renderer.
There is a bug in Windows 10 which makes font APIs to fail when it tries to load ttf file. Source based games are affected.
I also heard that Windows does not like ttf files stored at removable media.
Consider these if you test this in Windows.
It is better to use own font loader.
mainui_cpp implements it. When it will be properly tested, it will be moved from menu to the engine.