Text Rendering

TachyPy offers multiple text paths depending on precision and dependency needs.

Text class

Text is TachyPy’s polished system-font renderer. It is the friendly public name for GLSystemText and uses FreeType + HarfBuzz when available, with an OpenGL bitmap fallback.

OpenGL text renderers

  • GLText: bitmap glyph renderer in pure OpenGL.

  • GLTextSDF: signed-distance-field renderer for smoother scaling.

  • GLSystemText: explicit backward-compatible name for Text. You can pass a family name, comma-separated fallback list, or a direct font-file path.

The OpenGL renderers are backend-independent and do not require pygame.font.