Text & fonts¶
Glumpy uses several techniques for displaying text but the most versatile is the signed distance field rendering techniques.
This examples displays the same text at different size with perfect legibility.
This examples displays the same text at different size with quasi-perfect legibility.
This examples shosw how glyphs are packed into a texture atlas.
This examples displays a text in 3D (use mouse to manipulate)
This examples show how to use the on-screen console that should never fails.
The console is fairly limited and must be used for debugging purposes only.
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.
The terminal uses a dedicated technique to ensure rendering speed. For better text output, one must used a glyph collection.