Font and Resolution

Setting font and resolution for text entities in Ursina Engine.

Font and Resolution

Single Text Entity

text = Text(font='VeraMono.ttf', resolution=100 * Text.size)
text.text = descr

Global Defaults

Text.default_font = 'VeraMono.ttf'
Text.default_resolution = 100 * Text.size

Keep in mind you only need to increase resolution for crisp pixel fonts; the default works for most cases.