Search the Community
Showing results for tags 'fonts'.
-
Hi I have a small problem. I think the pictures should explain it pretty good With font size of 12 see the terrible cut on the top?: With font size 20 it is a little bit better but somehow not as sharp as it should be; This is how I would expect it to look like: I am rendering the text with the default arial.ttf font, I render the following color Vec4(0, 0, 0, 255) and with blendmode Blend.Alpha. So whats the problem? I remember the text rendered sharper another time, but I dont know what I am doing wrong atm? Any suggestions?
-
What is the best way to handle multiple fonts? Currently I load new font every cycle before every drawtext... I'm very noob with lua, so could someone post short reference script.