Well using py-sdl2 I was about to move on to making a menu when I suddenly realized that I had no idea how to create text. I had the API open and understand how to get a surface from the FontManager but was unable to find any further documentation or even an example.
I then proceeded to try and build a test case to see how I would go about converting the text into a surface and then into a sprite and finally into an entity. But I encountered this error while creating the FontManager:
Traceback (most recent call last): File "test_script.py", line 34, in <module> font_manager = sdl2.ext.FontManager('Villa.ttf') File "/usr/local/lib/python3.3/dist-packages/sdl2/ext/font.py", line 187, in init "FontManager requires sdlttf support") sdl2.ext.compat.UnsupportedError: 'FontManager requires sdlttf support' Exception AttributeError: "'FontManager' object has no attribute 'fonts'" in <bound method FontManager.del of <sdl2.ext.font.FontManager object at 0x7fef2b3e3110>> ignored
My system is Linux Mint 16 64-bit and I have both libsdl-ttf2.0-dev (ver2.0.11-2ubuntu1) and libsdl-ttf2.0-0 (ver2.0.11-2ubuntu1) installed.