Documentation
¶
Overview ¶
Command text-tour opens a 640x480 window that shows the text proof (the text-tour scene of internal/proof) drawn by the GPU renderer: Latin text in several sizes, weights and styles, Arabic and Hebrew, CJK, color emoji, every decoration style, shadows, an ellipsized paragraph and a justified one. It is a development example (milestone 4): it uses the internal packages directly, before the public API exists.
Run it with: go run ./examples/dev/text-tour
Escape quits. To try it without a desktop session run it under a headless server: scripts/headless-wayland.sh -- go run ./examples/dev/text-tour
Environment (read in debug builds only, as the examples promise):
GLUTTER_BACKEND=x11|wayland the windowing system (else the session's) GLUTTER_SCREENSHOT=<file.png> save the window content to the file and exit GLUTTER_SCREENSHOT_AFTER=<time> wait that long (such as 500ms) before saving