Text & fonts

Glumpy uses several techniques for displaying text but the most versatile is the signed distance field rendering techniques.

  • font-agg.py

    This examples displays the same text at different size with perfect legibility.

  • font-sdf.py

    This examples displays the same text at different size with quasi-perfect legibility.

  • font-atlas.py

    This examples shosw how glyphs are packed into a texture atlas.

  • collection-glyph.py

    This examples displays a text in 3D (use mouse to manipulate)

  • gloo-console.py

    This examples show how to use the on-screen console that should never fails.

    Note

    The console is fairly limited and must be used for debugging purposes only.

  • gloo-terminal.py

    This examples show a more complete terminal that is able to scroll and to display an extended set of characters (just scroll to see them). It is very fast and can be used for quick’n’dirty input/output.

    Note

    The terminal uses a dedicated technique to ensure rendering speed. For better text output, one must used a glyph collection.